Skip to content

Commit

Permalink
fix remove single file from image details
Browse files Browse the repository at this point in the history
  • Loading branch information
parth-ka-patel committed Nov 21, 2022
1 parent d957ced commit b63064d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/js/components/ConfirmModalDelete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default {
let $this = this;
setTimeout(function () {
$this.password = '';
$this.isDeleted = false;
},1500);
this.active = false;
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/DetailPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default {
this.loaded = false;
let $this = this;
let confirmDelete = setInterval(function () {
if($this.$refs.confirmDelete.password.length > 0 && $this.$refs.confirmDelete.isDeleted){
if($this.$refs.confirmDelete.password.length > 0 && $this.$refs.confirmDelete.isDeleted == true){
$this.$emit('refresh');
confirmDelete = null;
}
Expand Down

0 comments on commit b63064d

Please sign in to comment.