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
ba893c26
Commit
ba893c26
authored
Oct 04, 2021
by
Rishabh Gupta
Committed by
Natalia Tepluhina
Oct 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove v-html from WebIDE commit success message
parent
933c35c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
...scripts/ide/components/commit_sidebar/success_message.vue
+5
-1
No files found.
app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
View file @
ba893c26
<
script
>
import
{
GlSafeHtmlDirective
as
SafeHtml
}
from
'
@gitlab/ui
'
;
import
{
mapState
}
from
'
vuex
'
;
export
default
{
directives
:
{
SafeHtml
,
},
computed
:
{
...
mapState
([
'
lastCommitMsg
'
,
'
committedStateSvgPath
'
]),
},
...
...
@@ -16,7 +20,7 @@ export default {
<div
class=
"gl-mr-3 gl-ml-3"
>
<div
class=
"text-content text-center"
>
<h4>
{{
__
(
'
All changes are committed
'
)
}}
</h4>
<p
v-
html=
"lastCommitMsg /* eslint-disable-line vue/no-v-html */
"
></p>
<p
v-
safe-html=
"lastCommitMsg
"
></p>
</div>
</div>
</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