diff --git a/src/routes/SearchResults.vue b/src/routes/SearchResults.vue
index 5276dff..b04e831 100644
--- a/src/routes/SearchResults.vue
+++ b/src/routes/SearchResults.vue
@@ -15,7 +15,7 @@
-
+
@@ -89,22 +89,8 @@ export default {
methods: {
rationalizeSearchResult (sr) {
- let type
- // This seriously can't be the best solution
- if (sr.url.startsWith('/watch')) {
- type = 'VIDEO'
- } else if (sr.url.startsWith('/playlist')) {
- type = 'PLAYLIST'
- } else if (sr.url.startsWith('/channel')) {
- type = 'CHANNEL'
- } else {
- console.warn('WARNING: UNKNOWN VIDEO URL TYPE FOUND:', sr.url)
- type = 'VIDEO'
- }
-
return {
title: sr.name,
- type,
uploaderName: sr.uploader,
uploadedDate: sr.uploadDate,
...sr