Add move to cluster confirmation (fix #120)

old-stable24
Varun Patil 2022-10-26 10:46:12 -07:00
parent 15db6da859
commit 387c79d6a2
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
isFace: isFace, isFace: isFace,
}" }"
:to="target" :to="target"
@click="openTag(data)"> @click.native="openTag(data)">
<div class="bbl"> <NcCounterBubble> {{ data.count }} </NcCounterBubble> </div> <div class="bbl"> <NcCounterBubble> {{ data.count }} </NcCounterBubble> </div>
<div class="name"> {{ data.name }} </div> <div class="name"> {{ data.name }} </div>

View File

@ -78,6 +78,10 @@ export default class FaceMoveModal extends Mixins(GlobalMixin) {
const newName = face.name || face.fileid.toString(); const newName = face.name || face.fileid.toString();
if (!confirm(this.t('memories', 'Are you sure you want to move the selected photos from {name} to {newName}?', { name, newName}))) {
return;
}
try { try {
this.show = false; this.show = false;
this.updateLoading(1); this.updateLoading(1);