Update Confirm component to support allowHtml prompt option

This commit is contained in:
advplyr 2026-03-18 16:51:51 -05:00
parent 874e9e1856
commit 7c0d9efe91
6 changed files with 28 additions and 6 deletions

View file

@ -390,8 +390,8 @@ export default {
},
purgeItemsCache() {
const payload = {
// message: `This will delete the entire folder at <code>/metadata/cache/items</code>.<br />Are you sure you want to purge items cache?`,
message: this.$strings.MessageConfirmPurgeItemsCache,
allowHtml: true,
callback: (confirmed) => {
if (confirmed) {
this.sendPurgeItemsCache()