Frontend: Clear clipboard after sharing photos #441
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
2b55bf7bd3
commit
06df303f9f
1 changed files with 5 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
|||
<p-photo-archive-dialog :show="dialog.archive" @cancel="dialog.archive = false"
|
||||
@confirm="batchArchivePhotos"></p-photo-archive-dialog>
|
||||
<p-share-upload-dialog :show="dialog.share" :selection="selection" :album="album" @cancel="dialog.share = false"
|
||||
@confirm="dialog.share = false"></p-share-upload-dialog>
|
||||
@confirm="onShared"></p-share-upload-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -230,6 +230,10 @@
|
|||
// Open Edit Dialog
|
||||
Event.publish("dialog.edit", {selection: this.selection, album: this.album, index: 0});
|
||||
},
|
||||
onShared() {
|
||||
this.dialog.share = false;
|
||||
this.clearClipboard();
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue