Browse Source

refactor(gui-v2): replace innerHTML with children

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2947/head
Pranav C 2 years ago
parent
commit
110e056950
  1. 2
      packages/nc-gui-v2/components/smartsheet-header/Menu.vue

2
packages/nc-gui-v2/components/smartsheet-header/Menu.vue

@ -25,7 +25,7 @@ const { getMeta } = useMetas()
const deleteColumn = () =>
Modal.confirm({
title: h('div', { innerHTML: `Do you want to delete <span class="font-weight-bold">'${column?.title}'</span> column ?` }),
title: h('div', ['Do you want to delete ', h('span', { class: 'font-weight-bold' }, [column?.title]), ' column ?']),
okText: t('general.delete'),
okType: 'danger',
cancelText: t('general.cancel'),

Loading…
Cancel
Save