fix deperecation
This commit is contained in:
parent
f230aecebd
commit
3c24420840
@ -13,10 +13,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn" :class="btnStyle" data-bs-dismiss="modal" @click="yes">
|
<button type="button" class="btn" :class="btnStyle" data-bs-dismiss="modal" @click="yes">
|
||||||
{{ yesText }}
|
{{ yesText || $t("Yes") }}
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" @click="no">
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" @click="no">
|
||||||
{{ noText }}
|
{{ noText || $t("No") }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -37,16 +37,12 @@ export default {
|
|||||||
/** Text to use as yes */
|
/** Text to use as yes */
|
||||||
yesText: {
|
yesText: {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default: null,
|
||||||
return this.$t("Yes");
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/** Text to use as no */
|
/** Text to use as no */
|
||||||
noText: {
|
noText: {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default: null,
|
||||||
return this.$t("No");
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/** Title to show on modal. Defaults to translated version of "Config" */
|
/** Title to show on modal. Defaults to translated version of "Config" */
|
||||||
title: {
|
title: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user