diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 12:51:01 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 12:51:01 +0900 |
| commit | 946c7069135eac86a101d642347f7f7dc9f258e9 (patch) | |
| tree | 36352beb38efc4ecb1ad1c56eea50a5ee47639ba /src/client | |
| parent | Add some keyboard shortcuts of note (diff) | |
| download | misskey-946c7069135eac86a101d642347f7f7dc9f258e9.tar.gz misskey-946c7069135eac86a101d642347f7f7dc9f258e9.tar.bz2 misskey-946c7069135eac86a101d642347f7f7dc9f258e9.zip | |
Better design
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/note-menu.vue | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/client/app/common/views/components/note-menu.vue b/src/client/app/common/views/components/note-menu.vue index 21713e56a0..6b96974d5b 100644 --- a/src/client/app/common/views/components/note-menu.vue +++ b/src/client/app/common/views/components/note-menu.vue @@ -22,7 +22,19 @@ export default Vue.extend({ icon: '%fa:link%', text: '%i18n:@copy-link%', action: this.copyLink - }, null]; + }]; + + if (this.note.uri) { + items.push({ + icon: '%fa:external-link-square-alt%', + text: '%i18n:@remote%', + action: () => { + window.open(this.note.uri, '_blank'); + } + }); + } + + items.push(null); if (this.note.isFavorited) { items.push({ @@ -63,16 +75,6 @@ export default Vue.extend({ }); } - if (this.note.uri) { - items.push({ - icon: '%fa:external-link-square-alt%', - text: '%i18n:@remote%', - action: () => { - window.open(this.note.uri, '_blank'); - } - }); - } - return items; } }, |