Add move to cluster confirmation (fix #120)
parent
abceb4db7d
commit
9f32a4ba5f
|
@ -6,7 +6,7 @@
|
|||
isFace: isFace,
|
||||
}"
|
||||
:to="target"
|
||||
@click="openTag(data)">
|
||||
@click.native="openTag(data)">
|
||||
|
||||
<div class="bbl"> <NcCounterBubble> {{ data.count }} </NcCounterBubble> </div>
|
||||
<div class="name"> {{ data.name }} </div>
|
||||
|
|
|
@ -78,6 +78,10 @@ export default class FaceMoveModal extends Mixins(GlobalMixin) {
|
|||
|
||||
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 {
|
||||
this.show = false;
|
||||
this.updateLoading(1);
|
||||
|
|
Loading…
Reference in New Issue