From ebeb7f85782fb35be210cf48497d5d7ee991e368 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 8 Jun 2018 11:46:45 +0900 Subject: [PATCH] :v: --- .../app/common/views/components/menu.vue | 2 +- .../app/common/views/components/note-menu.vue | 16 +++--- .../views/components/context-menu.menu.vue | 22 ++++---- .../desktop/views/components/context-menu.vue | 22 ++++++-- .../desktop/views/components/drive.file.vue | 20 +++---- .../desktop/views/components/drive.folder.vue | 16 +++--- .../app/desktop/views/components/drive.vue | 6 +-- .../desktop/views/pages/deck/deck.column.vue | 54 ++++++++++++------- .../views/pages/deck/deck.tl-column.vue | 5 +- .../app/desktop/views/pages/deck/deck.vue | 30 ++++++----- .../views/pages/deck/deck.widgets-column.vue | 5 +- 11 files changed, 117 insertions(+), 81 deletions(-) diff --git a/src/client/app/common/views/components/menu.vue b/src/client/app/common/views/components/menu.vue index f1e23df00..cf3a09e67 100644 --- a/src/client/app/common/views/components/menu.vue +++ b/src/client/app/common/views/components/menu.vue @@ -4,7 +4,7 @@
diff --git a/src/client/app/common/views/components/note-menu.vue b/src/client/app/common/views/components/note-menu.vue index 951a9ed1d..4a8aae9e4 100644 --- a/src/client/app/common/views/components/note-menu.vue +++ b/src/client/app/common/views/components/note-menu.vue @@ -13,23 +13,23 @@ export default Vue.extend({ items() { const items = []; items.push({ - content: '%i18n:@favorite%', - onClick: this.favorite + text: '%i18n:@favorite%', + action: this.favorite }); if (this.note.userId == this.$store.state.i.id) { items.push({ - content: '%i18n:@pin%', - onClick: this.pin + text: '%i18n:@pin%', + action: this.pin }); items.push({ - content: '%i18n:@delete%', - onClick: this.del + text: '%i18n:@delete%', + action: this.del }); } if (this.note.uri) { items.push({ - content: '%i18n:@remote%', - onClick: () => { + text: '%i18n:@remote%', + action: () => { window.open(this.note.uri, '_blank'); } }); diff --git a/src/client/app/desktop/views/components/context-menu.menu.vue b/src/client/app/desktop/views/components/context-menu.menu.vue index 843604a05..e7deec675 100644 --- a/src/client/app/desktop/views/components/context-menu.menu.vue +++ b/src/client/app/desktop/views/components/context-menu.menu.vue @@ -1,15 +1,17 @@