Bulk Action * issue solved.

This commit is contained in:
Cüneyt Şentürk
2020-02-22 12:29:46 +03:00
parent 4337eab13e
commit 7441a31cc4
4 changed files with 20 additions and 0 deletions

View File

@ -69,6 +69,10 @@ export default class BulkAction {
// Selected item use action
action() {
if (this.value == '*') {
return;
}
var path = document.getElementsByName("bulk_action_path")[0].getAttribute('value');
this.loading = true;

View File

@ -59,11 +59,13 @@
<div class="mr-4" v-if="bulk_action.count">
<button type="button" class="btn btn-sm btn-outline-confirm"
:disabled="bulk_action.value == '*'"
v-if="bulk_action.message.length"
@click="bulk_action.modal=true">
<span>{{ trans('general.confirm') }}</span>
</button>
<button type="button" class="btn btn-sm btn-outline-confirm"
:disabled="bulk_action.value == '*'"
v-if="!bulk_action.message.length"
@click="onAction">
<span>{{ trans('general.confirm') }}</span>