diff options
author | Louis Chemineau <louis@chmn.me> | 2024-10-03 15:02:44 +0200 |
---|---|---|
committer | Louis <louis@chmn.me> | 2024-10-09 19:49:07 +0200 |
commit | c0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e (patch) | |
tree | 9e0085c07f4c8c911a9e42d3dba79437760254f5 /apps | |
parent | 43b1fd7bb8540181284659def6e01b8854a10fc0 (diff) | |
download | nextcloud-server-c0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e.tar.gz nextcloud-server-c0e5635ade9ebbc2bb1c5cb455e4e976274d4b8e.zip |
fix: Vue app names
This improves the debugging experience in the vue dev tool.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_reminders/src/components/SetCustomReminderModal.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_reminders/src/components/SetCustomReminderModal.vue b/apps/files_reminders/src/components/SetCustomReminderModal.vue index 331dc17dbd5..8996c722285 100644 --- a/apps/files_reminders/src/components/SetCustomReminderModal.vue +++ b/apps/files_reminders/src/components/SetCustomReminderModal.vue @@ -93,16 +93,16 @@ export default Vue.extend({ }, computed: { - fileId(): number { - return this.node.fileid + fileId(): number|undefined { + return this.node?.fileid }, - fileName(): string { - return this.node.basename + fileName(): string|undefined { + return this.node?.basename }, name() { - return t('files_reminders', 'Set reminder for "{fileName}"', { fileName: this.fileName }) + return this.fileName ? t('files_reminders', 'Set reminder for "{fileName}"', { fileName: this.fileName }) : '' }, label(): string { |