mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add extra disabled variable for send emit, disabled send by emit
This commit is contained in:
parent
902d45e8d2
commit
69b1cf7a06
@ -58,7 +58,11 @@
|
|||||||
<b-button @click="$emit('on-reset')">{{ $t('form.cancel') }}</b-button>
|
<b-button @click="$emit('on-reset')">{{ $t('form.cancel') }}</b-button>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col class="text-right">
|
<b-col class="text-right">
|
||||||
<b-button variant="success" :disabled="loading" @click="$emit('send-transaction')">
|
<b-button
|
||||||
|
variant="success"
|
||||||
|
:disabled="disabled"
|
||||||
|
@click="$emit('send-transaction'), (disabled = 'disabled')"
|
||||||
|
>
|
||||||
{{ $t('form.send_now') }}
|
{{ $t('form.send_now') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
</b-col>
|
</b-col>
|
||||||
@ -76,6 +80,11 @@ export default {
|
|||||||
loading: { type: Boolean, required: true },
|
loading: { type: Boolean, required: true },
|
||||||
selected: { type: String, required: true },
|
selected: { type: String, required: true },
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
disabled: this.loading,
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user