Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5959b2c1
Commit
5959b2c1
authored
Sep 09, 2021
by
Mehul Sharma
Committed by
Illya Klymov
Sep 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces v-html with v-safe-html
parent
68e74193
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
app/assets/javascripts/vue_shared/components/paginated_table_with_search_and_tabs/paginated_table_with_search_and_tabs.vue
..._search_and_tabs/paginated_table_with_search_and_tabs.vue
+12
-2
No files found.
app/assets/javascripts/vue_shared/components/paginated_table_with_search_and_tabs/paginated_table_with_search_and_tabs.vue
View file @
5959b2c1
<
script
>
import
{
GlAlert
,
GlBadge
,
GlPagination
,
GlTab
,
GlTabs
}
from
'
@gitlab/ui
'
;
import
{
GlAlert
,
GlBadge
,
GlPagination
,
GlTab
,
GlTabs
,
GlSafeHtmlDirective
as
SafeHtml
,
}
from
'
@gitlab/ui
'
;
import
Api
from
'
~/api
'
;
import
{
updateHistory
,
setUrlParams
}
from
'
~/lib/utils/url_utility
'
;
import
{
__
}
from
'
~/locale
'
;
...
...
@@ -20,6 +27,9 @@ export default {
GlTab
,
FilteredSearchBar
,
},
directives
:
{
SafeHtml
,
},
inject
:
{
projectPath
:
{
default
:
''
,
...
...
@@ -265,7 +275,7 @@ export default {
<
template
>
<div
class=
"incident-management-list"
>
<gl-alert
v-if=
"showErrorMsg"
variant=
"danger"
@
dismiss=
"$emit('error-alert-dismissed')"
>
<p
v-
html=
"serverErrorMessage || i18n.errorMsg /* eslint-disable-line vue/no-v-html */
"
></p>
<p
v-
safe-html=
"serverErrorMessage || i18n.errorMsg
"
></p>
</gl-alert>
<div
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment