Add move to cluster confirmation (fix #120)
parent
15db6da859
commit
387c79d6a2
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue