diff --git a/front/package.json b/front/package.json
index deafc35f4..cf9f3bede 100644
--- a/front/package.json
+++ b/front/package.json
@@ -39,7 +39,7 @@
"butterchurn": "3.0.0-beta.4",
"butterchurn-presets": "3.0.0-beta.4",
"diff": "5.1.0",
- "dompurify": "3.0.8",
+ "dompurify": "3.2.4",
"focus-trap": "7.2.0",
"idb-keyval": "6.2.1",
"jquery": "3.7.1",
diff --git a/front/src/components/manage/library/UploadsTable.vue b/front/src/components/manage/library/UploadsTable.vue
index 80dd83db8..5365d1014 100644
--- a/front/src/components/manage/library/UploadsTable.vue
+++ b/front/src/components/manage/library/UploadsTable.vue
@@ -69,7 +69,7 @@ const actions = computed(() => [
confirmationMessage: t('components.manage.library.UploadsTable.action.delete.warning'),
isDangerous: true,
allowAll: false,
- confirmColor: 'danger'
+ confirmColor: 'danger' as const
}
])
@@ -132,10 +132,10 @@ const getPrivacyLevelChoice = (privacyLevel: PrivacyLevel) => {
diff --git a/front/ui-docs/.vitepress/theme/index.ts b/front/ui-docs/.vitepress/theme/index.ts
index f7838ba08..49dedebd5 100644
--- a/front/ui-docs/.vitepress/theme/index.ts
+++ b/front/ui-docs/.vitepress/theme/index.ts
@@ -4,6 +4,7 @@ import DefaultTheme from 'vitepress/theme'
import en from '../../../src/locales/en_US.json'
import Theme from './Theme.vue'
+import VueDOMPurifyHTML from 'vue-dompurify-html';
import { createRouter, createWebHistory } from 'vue-router'
@@ -50,5 +51,6 @@ export default {
}
app.use(i18n)
app.use(router)
+ app.use(VueDOMPurifyHTML);
}
}
diff --git a/front/ui-docs/components/ui/button/options.md b/front/ui-docs/components/ui/button/options.md
index 06ef80556..cfbb38ba3 100644
--- a/front/ui-docs/components/ui/button/options.md
+++ b/front/ui-docs/components/ui/button/options.md
@@ -8,7 +8,7 @@ import OptionsButton from "~/components/ui/button/Options.vue"
# Options Button
--> For use cases, see [components/popover](../popover)
+-> For use cases, see [components/popover](../popover.md)
```vue-html
diff --git a/front/yarn.lock b/front/yarn.lock
index 602750f7f..066e836cb 100644
--- a/front/yarn.lock
+++ b/front/yarn.lock
@@ -6272,12 +6272,7 @@ domhandler@^5.0.2, domhandler@^5.0.3:
dependencies:
domelementtype "^2.3.0"
-dompurify@3.0.8:
- version "3.0.8"
- resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.0.8.tgz#e0021ab1b09184bc8af7e35c7dd9063f43a8a437"
- integrity sha512-b7uwreMYL2eZhrSCRC4ahLTeZcPZxSmYfmcQGXGkXiZSNW1X85v+SDM5KsWcpivIiUBH47Ji7NtyUdpLeF5JZQ==
-
-dompurify@^3.2.1:
+dompurify@3.2.4, dompurify@^3.2.1:
version "3.2.4"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.4.tgz#af5a5a11407524431456cf18836c55d13441cd8e"
integrity sha512-ysFSFEDVduQpyhzAob/kkuJjf5zWkZD8/A9ywSp1byueyuCfHamrCBa14/Oc2iiB0e51B+NpxSl5gmzn+Ms/mg==