forked from FoundKeyGang/FoundKey
Fix #7481
This commit is contained in:
parent
0038f3b244
commit
c039665a97
6 changed files with 4 additions and 6 deletions
|
@ -81,7 +81,7 @@ export default defineComponent({
|
||||||
getMenu() {
|
getMenu() {
|
||||||
return [{
|
return [{
|
||||||
text: this.$ts.rename,
|
text: this.$ts.rename,
|
||||||
icon: faICursor,
|
icon: 'fas fa-i-cursor',
|
||||||
action: this.rename
|
action: this.rename
|
||||||
}, {
|
}, {
|
||||||
text: this.file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
text: this.file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
||||||
|
|
|
@ -247,7 +247,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.$ts.rename,
|
text: this.$ts.rename,
|
||||||
icon: faICursor,
|
icon: 'fas fa-i-cursor',
|
||||||
action: this.rename
|
action: this.rename
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
|
|
|
@ -614,7 +614,7 @@ export default defineComponent({
|
||||||
type: 'label'
|
type: 'label'
|
||||||
}, this.folder ? {
|
}, this.folder ? {
|
||||||
text: this.$ts.renameFolder,
|
text: this.$ts.renameFolder,
|
||||||
icon: faICursor,
|
icon: 'fas fa-i-cursor',
|
||||||
action: () => { this.renameFolder(this.folder); }
|
action: () => { this.renameFolder(this.folder); }
|
||||||
} : undefined, this.folder ? {
|
} : undefined, this.folder ? {
|
||||||
text: this.$ts.deleteFolder,
|
text: this.$ts.deleteFolder,
|
||||||
|
|
|
@ -93,7 +93,7 @@ export default defineComponent({
|
||||||
if (this.menu) return;
|
if (this.menu) return;
|
||||||
this.menu = os.modalMenu([{
|
this.menu = os.modalMenu([{
|
||||||
text: this.$ts.renameFile,
|
text: this.$ts.renameFile,
|
||||||
icon: faICursor,
|
icon: 'fas fa-i-cursor',
|
||||||
action: () => { this.rename(file) }
|
action: () => { this.rename(file) }
|
||||||
}, {
|
}, {
|
||||||
text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
||||||
|
|
|
@ -25,7 +25,6 @@ export default defineComponent({
|
||||||
endpoint: 'notes/mentions',
|
endpoint: 'notes/mentions',
|
||||||
limit: 10,
|
limit: 10,
|
||||||
},
|
},
|
||||||
faAt
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ export default defineComponent({
|
||||||
endpoint: 'notes/mentions',
|
endpoint: 'notes/mentions',
|
||||||
limit: 10,
|
limit: 10,
|
||||||
},
|
},
|
||||||
faAt
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue