Skip to content

Commit

Permalink
Set UploadModal as static to prevent accidentally closing it
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Aug 14, 2024
1 parent 864c2a9 commit 4fa8786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/modals/UploadModal.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ModalDialogContainer :closeSignal="closeSignal" v-model:display="displayStatus">
<ModalDialogContainer :closeSignal="closeSignal" v-model:display="displayStatus" :static="true">
<div v-if="display" class="modal-dialog modal-lg" role="document">
<div class="modal-header">
<div class="modal-title">{{ $t("Upload files") }}</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/player/PlayerContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default defineComponent({
link.target = "_blank";
link.rel = "noopener noreferrer";
const titlePart = this.title ? ("&filename=" + encodeURIComponent(this.title)) : "";
const titlePart = this.title ? "&filename=" + encodeURIComponent(this.title) : "";
if ((this.url + "").includes("?")) {
link.href = this.url + "&download=force" + titlePart;
Expand Down

0 comments on commit 4fa8786

Please sign in to comment.