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
7b98598a
Commit
7b98598a
authored
Jul 27, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace v-html with v-safe-html in self_monitor_form.vue
parent
d0c3ad98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
app/assets/javascripts/self_monitor/components/self_monitor_form.vue
...javascripts/self_monitor/components/self_monitor_form.vue
+13
-3
No files found.
app/assets/javascripts/self_monitor/components/self_monitor_form.vue
View file @
7b98598a
<
script
>
/* eslint-disable vue/no-v-html */
import
{
GlFormGroup
,
GlButton
,
GlModal
,
GlToast
,
GlToggle
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlFormGroup
,
GlButton
,
GlModal
,
GlToast
,
GlToggle
,
GlLink
,
GlSafeHtmlDirective
,
}
from
'
@gitlab/ui
'
;
import
Vue
from
'
vue
'
;
import
{
mapState
,
mapActions
}
from
'
vuex
'
;
import
{
helpPagePath
}
from
'
~/helpers/help_page_helper
'
;
...
...
@@ -18,6 +25,9 @@ export default {
GlToggle
,
GlLink
,
},
directives
:
{
SafeHtml
:
GlSafeHtmlDirective
,
},
formLabels
:
{
createProject
:
__
(
'
Self monitoring
'
),
},
...
...
@@ -137,7 +147,7 @@ export default {
</div>
<div
class=
"settings-content"
>
<form
name=
"self-monitoring-form"
>
<p
ref=
"selfMonitoringFormText"
v-html=
"selfMonitoringFormText"
></p>
<p
ref=
"selfMonitoringFormText"
v-
safe-
html=
"selfMonitoringFormText"
></p>
<gl-form-group>
<gl-toggle
v-model=
"selfMonitorEnabled"
...
...
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