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
c36f6890
Commit
c36f6890
authored
Jul 06, 2020
by
Christie Lenneville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated button in IDE
parent
9937adfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
app/assets/javascripts/ide/components/ide.vue
app/assets/javascripts/ide/components/ide.vue
+5
-4
No files found.
app/assets/javascripts/ide/components/ide.vue
View file @
c36f6890
<
script
>
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
Gl
Deprecated
Button
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
modalTypes
}
from
'
../constants
'
;
import
FindFile
from
'
~/vue_shared/components/file_finder/index.vue
'
;
...
...
@@ -24,7 +24,7 @@ export default {
FindFile
,
ErrorMessage
,
CommitEditorHeader
,
Gl
Deprecated
Button
,
GlButton
,
GlLoadingIcon
,
RightPane
,
},
...
...
@@ -121,15 +121,16 @@ export default {
)
}}
</p>
<gl-
deprecated-
button
<gl-button
variant=
"success"
category=
"primary"
:title=
"__('New file')"
:aria-label=
"__('New file')"
data-qa-selector=
"first_file_button"
@
click=
"createNewFile()"
>
{{
__
(
'
New file
'
)
}}
</gl-
deprecated-
button>
</gl-button>
</
template
>
<gl-loading-icon
v-else-if=
"!currentTree || currentTree.loading"
size=
"md"
/>
<p
v-else
>
...
...
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