Skip to content

Commit

Permalink
fix: use file basename as file name to display
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Apr 25, 2024
1 parent a4046a1 commit 200bb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/Office.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 200bb72

Please sign in to comment.