Skip to content

Commit

Permalink
fix: remove v-html usage (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 authored Oct 29, 2024
1 parent e17c6e4 commit 44b7d3d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@carbon/icons-vue": "^10.37.0",
"@carbon/vue": "^2.40.0",
"@nethserver/ns8-ui-lib": "^0.1.23",
"@nethserver/ns8-ui-lib": "^1.1.4",
"await-to-js": "^3.0.0",
"axios": "^0.21.2",
"carbon-components": "^10.41.0",
Expand Down
6 changes: 3 additions & 3 deletions ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@
"acl_full": "Full access",
"acl_special": "Special",
"delete_shared_folder_name": "Delete shared folder {name}",
"delete_shared_folder_description": "Delete shared folder <strong>{name}</strong>? All files contained will be <strong>permanently</strong> deleted.",
"delete_shared_folder_description": "Delete shared folder '{name}'? All files contained will be permanently deleted.",
"share_not_found": "Share not found",
"main_group": "Main group",
"main_group_tooltip": "<strong>Domain Admins</strong> group always have full control on shared folder",
"main_group_tooltip": "'Domain Admins' group always have full control on shared folder",
"initial_permissions": "Initial permissions",
"ergrw_description": "Main group can read and write, everyone else can only read",
"grw_description": "Main group can read and write, everyone else can neither read nor write",
"erw_description": "Everyone can read and write",
"set_shared_folder_permissions": "Set shared folder permissions",
"set_shared_folder_permissions_explanation": "You are about to set new permissions on <strong>all files and subdirectories</strong> of shared folder <strong>{name}</strong>. This might take some time, depending on the size of the shared folder",
"set_shared_folder_permissions_explanation": "You are about to set new permissions on all files and subdirectories of shared folder '{name}'. This might take some time, depending on the size of the shared folder",
"permissions": "Permissions",
"set_permissions_for_share_name": "Set permissions for shared folder {name}",
"invalid_permissions": "Invalid permissions"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
ref="group"
>
<template slot="tooltip">
<div v-html="$t('shares.main_group_tooltip')"></div>
<div>{{ $t("shares.main_group_tooltip") }}</div>
</template>
</NsComboBox>
<!-- initial permissions -->
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/shared-folders/SetPermissionsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
ref="group"
>
<template slot="tooltip">
<div v-html="$t('shares.main_group_tooltip')"></div>
<div>{{ $t("shares.main_group_tooltip") }}</div>
</template>
</NsComboBox>
<!-- permissions -->
Expand Down
8 changes: 4 additions & 4 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,10 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"

"@nethserver/ns8-ui-lib@^0.1.23":
version "0.1.23"
resolved "https://registry.yarnpkg.com/@nethserver/ns8-ui-lib/-/ns8-ui-lib-0.1.23.tgz#f94ebb6bd47978fb2ae3d203112db477de264a59"
integrity sha512-7t0ffYJcbuD+6wOFai3R9X1IhgGS4mfV2+GnGYHh63iGmewuRBQvKU0rW163fiSwgI4UTnXKnfKYcX1SNCLdJQ==
"@nethserver/ns8-ui-lib@^1.1.4":
version "1.1.4"
resolved "https://registry.yarnpkg.com/@nethserver/ns8-ui-lib/-/ns8-ui-lib-1.1.4.tgz#6e8a47356c43773527c2d410e907c3dbe41326e2"
integrity sha512-z5lpixFPFlhBejMIYOFG6+YS74wcoppg1bat3WM1HTVo5gmpE3GVMOOIz+A2ThO9S/4ecWs6LG/GT/syQI2k5A==
dependencies:
"@rollup/plugin-json" "^4.1.0"
core-js "^3.15.2"
Expand Down

0 comments on commit 44b7d3d

Please sign in to comment.