From c039665a9729ba671c2eadf38c7ef06b6000e044 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Apr 2021 22:32:46 +0900 Subject: [PATCH] Fix #7481 --- src/client/components/drive.file.vue | 2 +- src/client/components/drive.folder.vue | 2 +- src/client/components/drive.vue | 2 +- src/client/components/post-form-attaches.vue | 2 +- src/client/pages/mentions.vue | 1 - src/client/ui/deck/mentions-column.vue | 1 - 6 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client/components/drive.file.vue b/src/client/components/drive.file.vue index 293465e42..37b1afc1b 100644 --- a/src/client/components/drive.file.vue +++ b/src/client/components/drive.file.vue @@ -81,7 +81,7 @@ export default defineComponent({ getMenu() { return [{ text: this.$ts.rename, - icon: faICursor, + icon: 'fas fa-i-cursor', action: this.rename }, { text: this.file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive, diff --git a/src/client/components/drive.folder.vue b/src/client/components/drive.folder.vue index 6ddd39252..4c09e7775 100644 --- a/src/client/components/drive.folder.vue +++ b/src/client/components/drive.folder.vue @@ -247,7 +247,7 @@ export default defineComponent({ } }, null, { text: this.$ts.rename, - icon: faICursor, + icon: 'fas fa-i-cursor', action: this.rename }, null, { text: this.$ts.delete, diff --git a/src/client/components/drive.vue b/src/client/components/drive.vue index bd5bd8008..06f9cf780 100644 --- a/src/client/components/drive.vue +++ b/src/client/components/drive.vue @@ -614,7 +614,7 @@ export default defineComponent({ type: 'label' }, this.folder ? { text: this.$ts.renameFolder, - icon: faICursor, + icon: 'fas fa-i-cursor', action: () => { this.renameFolder(this.folder); } } : undefined, this.folder ? { text: this.$ts.deleteFolder, diff --git a/src/client/components/post-form-attaches.vue b/src/client/components/post-form-attaches.vue index eba7e7af3..f832ea87b 100644 --- a/src/client/components/post-form-attaches.vue +++ b/src/client/components/post-form-attaches.vue @@ -93,7 +93,7 @@ export default defineComponent({ if (this.menu) return; this.menu = os.modalMenu([{ text: this.$ts.renameFile, - icon: faICursor, + icon: 'fas fa-i-cursor', action: () => { this.rename(file) } }, { text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive, diff --git a/src/client/pages/mentions.vue b/src/client/pages/mentions.vue index a12993ebb..798d3e342 100644 --- a/src/client/pages/mentions.vue +++ b/src/client/pages/mentions.vue @@ -25,7 +25,6 @@ export default defineComponent({ endpoint: 'notes/mentions', limit: 10, }, - faAt }; }, diff --git a/src/client/ui/deck/mentions-column.vue b/src/client/ui/deck/mentions-column.vue index 053ef918f..c625bb3ea 100644 --- a/src/client/ui/deck/mentions-column.vue +++ b/src/client/ui/deck/mentions-column.vue @@ -36,7 +36,6 @@ export default defineComponent({ endpoint: 'notes/mentions', limit: 10, }, - faAt } },