From 200bb722cfd7fd898d0c583be2d37a1423f0782e Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Thu, 25 Apr 2024 12:24:51 -0400 Subject: [PATCH] fix: use file basename as file name to display Signed-off-by: Elizabeth Danzberger --- src/view/Office.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/Office.vue b/src/view/Office.vue index 8a1aca4b55..7d9676be87 100644 --- a/src/view/Office.vue +++ b/src/view/Office.vue @@ -288,7 +288,7 @@ export default { '../components/GuestNamePicker.vue') spawnDialog(GuestNamePicker, { - fileName: this.filename.replace('/', ''), + fileName: basename(this.filename), onSubmit: async (guestName) => { this.guestName = guestName await this.load()