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
db22be51
Commit
db22be51
authored
Jul 27, 2020
by
Miguel Rincon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented FE changes from review
parent
642d9604
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/monitoring/pages/panel_new_page.vue
app/assets/javascripts/monitoring/pages/panel_new_page.vue
+2
-2
spec/frontend/monitoring/pages/panel_new_page_spec.js
spec/frontend/monitoring/pages/panel_new_page_spec.js
+2
-2
No files found.
app/assets/javascripts/monitoring/pages/panel_new_page.vue
View file @
db22be51
...
...
@@ -10,14 +10,14 @@ export default {
directives
:
{
GlTooltip
:
GlTooltipDirective
,
},
routes
,
i18n
:
{
backToDashboard
:
s__
(
'
Metrics|Back to dashboard
'
),
},
routes
,
};
</
script
>
<
template
>
<div
class=
"
d
-flex gl-align-items-baseline"
>
<div
class=
"
gl-display
-flex gl-align-items-baseline"
>
<gl-button
v-gl-tooltip
icon=
"go-back"
...
...
spec/frontend/monitoring/pages/panel_new_page_spec.js
View file @
db22be51
...
...
@@ -18,7 +18,7 @@ describe('monitoring/pages/panel_new_page', () => {
let
wrapper
;
let
$route
;
const
buildWrapper
=
(
propsData
=
{},
routeParams
=
{
dashboard
})
=>
{
const
mountComponent
=
(
propsData
=
{},
routeParams
=
{
dashboard
})
=>
{
$route
=
{
params
:
routeParams
,
};
...
...
@@ -42,7 +42,7 @@ describe('monitoring/pages/panel_new_page', () => {
describe
(
'
back to dashboard button
'
,
()
=>
{
it
(
'
is rendered
'
,
()
=>
{
buildWrapper
();
mountComponent
();
expect
(
findBackButton
().
exists
()).
toBe
(
true
);
expect
(
findBackButton
().
props
(
'
icon
'
)).
toBe
(
'
go-back
'
);
});
...
...
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