Issues #153: done.
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
<!-- Button -->
|
<!-- Button -->
|
||||||
<div>
|
<div>
|
||||||
<div class="float-right space-x-4 px-4 py-2">
|
<div class="float-right space-x-4 px-4 py-2">
|
||||||
<button type="button" class="btn btn-sm " :class="[ temporaryData.length === 0 ? 'btn-disable' : 'btn-neutral']" :disabled="temporaryData.length === 0" @click="deleteRule('all')">Filter(s) deleted.</button>
|
<button type="button" class="btn btn-sm " :class="[ temporaryData.length === 0 ? 'btn-disable' : 'btn-neutral']" :disabled="temporaryData.length === 0" @click="deleteRule('all')">Delete All</button>
|
||||||
<button type="button" class="btn btn-sm" :class="[ temporaryData.length === 0 ? 'btn-disable' : 'btn-neutral']" :disabled="temporaryData.length === 0" @click="submitAll">Apply All</button>
|
<button type="button" class="btn btn-sm" :class="[ temporaryData.length === 0 ? 'btn-disable' : 'btn-neutral']" :disabled="temporaryData.length === 0" @click="submitAll">Apply All</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -80,7 +80,7 @@ export default {
|
|||||||
await this.$emit('submit-all');
|
await this.$emit('submit-all');
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
}
|
}
|
||||||
this.$toast.success('All deleted.');
|
this.$toast.success('Filter(s) deleted.');
|
||||||
}else{
|
}else{
|
||||||
this.$toast.success(`Delete ${this.ruleData[index].label}.`);
|
this.$toast.success(`Delete ${this.ruleData[index].label}.`);
|
||||||
this.temporaryData.splice(index, 1);
|
this.temporaryData.splice(index, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user