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
ac6a90aa
Commit
ac6a90aa
authored
Aug 17, 2020
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace GlDeprecatedDropdown in alert widget
parent
29ce41dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/monitoring/components/alert_widget_form.vue
...s/javascripts/monitoring/components/alert_widget_form.vue
+9
-9
No files found.
app/assets/javascripts/monitoring/components/alert_widget_form.vue
View file @
ac6a90aa
...
...
@@ -7,8 +7,8 @@ import {
GlButtonGroup
,
GlFormGroup
,
GlFormInput
,
Gl
Deprecated
Dropdown
,
Gl
Deprecated
DropdownItem
,
Gl
NewDropdown
as
Gl
Dropdown
,
Gl
NewDropdownItem
as
Gl
DropdownItem
,
GlModal
,
GlTooltipDirective
,
}
from
'
@gitlab/ui
'
;
...
...
@@ -40,8 +40,8 @@ export default {
GlButtonGroup
,
GlFormGroup
,
GlFormInput
,
GlD
eprecatedD
ropdown
,
GlD
eprecatedD
ropdownItem
,
GlDropdown
,
GlDropdownItem
,
GlModal
,
GlLink
,
Icon
,
...
...
@@ -251,20 +251,20 @@ export default {
</
template
>
</gl-form-group>
<gl-form-group
v-else
label-for=
"alert-query-dropdown"
:label=
"$options.alertQueryText.label"
>
<gl-d
eprecated-d
ropdown
<gl-dropdown
id=
"alert-query-dropdown"
:text=
"queryDropdownLabel"
toggle-class=
"dropdown-menu-toggle qa-alert-query-dropdown"
toggle-class=
"dropdown-menu-toggle
gl-border-1!
qa-alert-query-dropdown"
>
<gl-d
eprecated-d
ropdown-item
<gl-dropdown-item
v-for=
"query in relevantQueries"
:key=
"query.metricId"
data-qa-selector=
"alert_query_option"
@
click=
"selectQuery(query.metricId)"
>
{{ query.label }}
</gl-d
eprecated-d
ropdown-item>
</gl-d
eprecated-d
ropdown>
</gl-dropdown-item>
</gl-dropdown>
</gl-form-group>
<gl-button-group
class=
"mb-3"
:label=
"s__('PrometheusAlerts|Operator')"
>
<gl-deprecated-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