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
e130b170
Commit
e130b170
authored
Dec 03, 2021
by
Ezekiel Kigbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address minor review comments
parent
bc01af28
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
31 deletions
+24
-31
app/assets/javascripts/projects/settings/components/transfer_project_form.vue
...ts/projects/settings/components/transfer_project_form.vue
+1
-1
app/assets/javascripts/projects/settings/init_transfer_project_form.js
...vascripts/projects/settings/init_transfer_project_form.js
+3
-1
app/assets/javascripts/vue_shared/components/confirm_danger/confirm_danger.vue
...s/vue_shared/components/confirm_danger/confirm_danger.vue
+0
-5
app/assets/javascripts/vue_shared/components/namespace_select/namespace_select.vue
...e_shared/components/namespace_select/namespace_select.vue
+20
-24
No files found.
app/assets/javascripts/projects/settings/components/transfer_project_form.vue
View file @
e130b170
...
...
@@ -53,7 +53,7 @@ export default {
/>
</gl-form-group>
<confirm-danger
qa-
button-class=
"qa-transfer-button"
button-class=
"qa-transfer-button"
:disabled=
"!hasSelectedNamespace"
:phrase=
"confirmationPhrase"
:button-text=
"confirmButtonText"
...
...
app/assets/javascripts/projects/settings/init_transfer_project_form.js
View file @
e130b170
...
...
@@ -39,7 +39,9 @@ export default () => {
},
on
:
{
selectNamespace
:
(
id
)
=>
{
if
(
targetHiddenInputId
)
document
.
getElementById
(
targetHiddenInputId
).
value
=
id
;
if
(
targetHiddenInputId
&&
document
.
getElementById
(
targetHiddenInputId
)?.
value
)
{
document
.
getElementById
(
targetHiddenInputId
).
value
=
id
;
}
},
confirm
:
()
=>
{
if
(
targetFormId
)
document
.
getElementById
(
targetFormId
)?.
submit
();
...
...
app/assets/javascripts/vue_shared/components/confirm_danger/confirm_danger.vue
View file @
e130b170
...
...
@@ -36,11 +36,6 @@ export default {
required
:
false
,
default
:
'
confirm-danger-button
'
,
},
qaButtonClass
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
},
modalId
:
CONFIRM_DANGER_MODAL_ID
,
};
...
...
app/assets/javascripts/vue_shared/components/namespace_select/namespace_select.vue
View file @
e130b170
...
...
@@ -69,29 +69,25 @@ export default {
<template
#header
>
<gl-search-box-by-type
v-model.trim=
"searchTerm"
/>
</
template
>
<
template
v-if=
"hasGroupNamespaces"
>
<div
class=
"qa-namespaces-list-groups"
>
<gl-dropdown-section-header>
{{
$options
.
i18n
.
GROUPS
}}
</gl-dropdown-section-header>
<gl-dropdown-item
v-for=
"item in filteredGroupNamespaces"
:key=
"item.id"
class=
"qa-namespaces-list-item"
@
click=
"handleSelect(item)"
>
{{
item
.
humanName
}}
</gl-dropdown-item
>
</div>
</
template
>
<
template
v-if=
"hasUserNamespaces"
>
<div
class=
"qa-namespaces-list-users"
>
<gl-dropdown-section-header>
{{
$options
.
i18n
.
USERS
}}
</gl-dropdown-section-header>
<gl-dropdown-item
v-for=
"item in filteredUserNamespaces"
:key=
"item.id"
class=
"qa-namespaces-list-item"
@
click=
"handleSelect(item)"
>
{{
item
.
humanName
}}
</gl-dropdown-item
>
</div>
</
template
>
<div
v-if=
"hasGroupNamespaces"
class=
"qa-namespaces-list-groups"
>
<gl-dropdown-section-header>
{{ $options.i18n.GROUPS }}
</gl-dropdown-section-header>
<gl-dropdown-item
v-for=
"item in filteredGroupNamespaces"
:key=
"item.id"
class=
"qa-namespaces-list-item"
@
click=
"handleSelect(item)"
>
{{ item.humanName }}
</gl-dropdown-item
>
</div>
<div
v-if=
"hasUserNamespaces"
class=
"qa-namespaces-list-users"
>
<gl-dropdown-section-header>
{{ $options.i18n.USERS }}
</gl-dropdown-section-header>
<gl-dropdown-item
v-for=
"item in filteredUserNamespaces"
:key=
"item.id"
class=
"qa-namespaces-list-item"
@
click=
"handleSelect(item)"
>
{{ item.humanName }}
</gl-dropdown-item
>
</div>
</gl-dropdown>
</template>
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