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 @@
diff --git a/src/client/app/desktop/views/components/context-menu.vue b/src/client/app/desktop/views/components/context-menu.vue
index 60a33f9c9..a9a083ec0 100644
--- a/src/client/app/desktop/views/components/context-menu.vue
+++ b/src/client/app/desktop/views/components/context-menu.vue
@@ -1,5 +1,5 @@
-