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
f5dc7037
Commit
f5dc7037
authored
Sep 16, 2020
by
Kyle Mann
Committed by
Mike Greiling
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated dropdown
parent
219327ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ee/app/assets/javascripts/vue_shared/license_compliance/components/admin_license_management_row.vue
...se_compliance/components/admin_license_management_row.vue
+9
-9
No files found.
ee/app/assets/javascripts/vue_shared/license_compliance/components/admin_license_management_row.vue
View file @
f5dc7037
<
script
>
import
{
mapActions
}
from
'
vuex
'
;
import
{
GlD
eprecatedDropdown
,
GlDeprecated
DropdownItem
,
GlLoadingIcon
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlD
ropdown
,
Gl
DropdownItem
,
GlLoadingIcon
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
getIssueStatusFromLicenseStatus
}
from
'
ee/vue_shared/license_compliance/store/utils
'
;
import
{
LICENSE_MANAGEMENT
}
from
'
ee/vue_shared/license_compliance/store/constants
'
;
import
{
s__
}
from
'
~/locale
'
;
...
...
@@ -14,8 +14,8 @@ const invisibleClass = 'invisible';
export
default
{
name
:
'
AdminLicenseManagementRow
'
,
components
:
{
GlD
eprecatedD
ropdown
,
GlD
eprecatedD
ropdownItem
,
GlDropdown
,
GlDropdownItem
,
GlLoadingIcon
,
GlIcon
,
IssueStatusIcon
,
...
...
@@ -70,21 +70,21 @@ export default {
<div
class=
"float-right"
>
<div
class=
"d-flex"
>
<gl-loading-icon
v-if=
"loading"
class=
"js-loading-icon d-flex align-items-center mr-2"
/>
<gl-d
eprecated-d
ropdown
<gl-dropdown
:text=
"dropdownText"
:disabled=
"loading"
toggle-class=
"d-flex justify-content-between align-items-center"
right
>
<gl-d
eprecated-d
ropdown-item
@
click=
"allowLicense(license)"
>
<gl-dropdown-item
@
click=
"allowLicense(license)"
>
<gl-icon
:class=
"approveIconClass"
name=
"mobile-issue-close"
/>
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
ALLOW
]
}}
</gl-d
eprecated-d
ropdown-item>
<gl-d
eprecated-d
ropdown-item
@
click=
"denyLicense(license)"
>
</gl-dropdown-item>
<gl-dropdown-item
@
click=
"denyLicense(license)"
>
<gl-icon
:class=
"blacklistIconClass"
name=
"mobile-issue-close"
/>
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
DENY
]
}}
</gl-d
eprecated-d
ropdown-item>
</gl-d
eprecated-d
ropdown>
</gl-dropdown-item>
</gl-dropdown>
<button
:disabled=
"loading"
class=
"btn btn-blank js-remove-button"
...
...
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