Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Frontend
Commits
0c5d8356
Commit
0c5d8356
authored
11 months ago
by
ml bonhomme
Browse files
Options
Downloads
Patches
Plain Diff
Actually use 'loading' in the Folder creation modal
parent
d821bf6e
No related branches found
No related tags found
1 merge request
!1672
Actually use 'loading' in the Folder creation modal
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Navigation/AddFolderModal.vue
+1
-0
1 addition, 0 deletions
src/components/Navigation/AddFolderModal.vue
with
1 addition
and
0 deletions
src/components/Navigation/AddFolderModal.vue
+
1
−
0
View file @
0c5d8356
...
...
@@ -92,6 +92,7 @@ export default {
...
mapMutations
(
'
notifications
'
,
[
'
notify
'
]),
async
addFolder
()
{
if
(
this
.
loading
||
!
this
.
canWrite
(
this
.
corpus
)
||
!
this
.
typeSlug
||
!
this
.
name
)
return
this
.
loading
=
true
try
{
const
folder
=
await
this
.
$store
.
dispatch
(
'
elements/create
'
,
{
corpus
:
this
.
corpusId
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment