diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts
index 6b81a5aa77..765ba0202e 100644
--- a/src/client/app/desktop/script.ts
+++ b/src/client/app/desktop/script.ts
@@ -66,7 +66,7 @@ init(async (launch) => {
{ path: '/i/drive/folder/:folder', component: MkDrive },
{ path: '/selectdrive', component: MkSelectDrive },
{ path: '/search', component: MkSearch },
- { path: '/tags/:tag', component: MkTag },
+ { path: '/tags/:tag', name: 'tag', component: MkTag },
{ path: '/share', component: MkShare },
{ path: '/reversi/:game?', component: MkReversi },
{ path: '/@:user', name: 'user', component: MkUser },
diff --git a/src/client/app/desktop/views/pages/deck/deck.hashtag-column.vue b/src/client/app/desktop/views/pages/deck/deck.hashtag-column.vue
new file mode 100644
index 0000000000..70058665e8
--- /dev/null
+++ b/src/client/app/desktop/views/pages/deck/deck.hashtag-column.vue
@@ -0,0 +1,37 @@
+
+
+
+ %fa:hashtag%{{ tag }}
+
+
+
+
+
+
+
diff --git a/src/client/app/desktop/views/pages/deck/deck.vue b/src/client/app/desktop/views/pages/deck/deck.vue
index 6c55f08b5c..3b3102bd72 100644
--- a/src/client/app/desktop/views/pages/deck/deck.vue
+++ b/src/client/app/desktop/views/pages/deck/deck.vue
@@ -12,6 +12,7 @@
+
@@ -25,6 +26,7 @@ import Menu from '../../../../common/views/components/menu.vue';
import MkUserListsWindow from '../../components/user-lists-window.vue';
import XUserColumn from './deck.user-column.vue';
import XNoteColumn from './deck.note-column.vue';
+import XHashtagColumn from './deck.hashtag-column.vue';
import * as uuid from 'uuid';
@@ -32,7 +34,8 @@ export default Vue.extend({
components: {
XColumnCore,
XUserColumn,
- XNoteColumn
+ XNoteColumn,
+ XHashtagColumn
},
computed: {
@@ -162,6 +165,15 @@ export default Vue.extend({
}
});
return true;
+ } else if (to.name == 'tag') {
+ this.$store.commit('device/set', {
+ key: 'deckTemporaryColumn',
+ value: {
+ type: 'tag',
+ tag: to.params.tag
+ }
+ });
+ return true;
}
},