Add move to cluster confirmation (fix #120)
parent
abceb4db7d
commit
9f32a4ba5f
|
@ -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