Skip to content
Snippets Groups Projects
Unverified Commit 8c3a2c55 authored by Phil Hughes's avatar Phil Hughes
Browse files

fixed sidebar button not having active class

parent 1d43689e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,6 +17,12 @@ export default {
},
computed: {
...mapState(['rightPane']),
pipelinesActive() {
return (
this.rightPane === rightSidebarViews.pipelines ||
this.rightPane === rightSidebarViews.jobsDetail
);
},
},
methods: {
...mapActions(['setRightPane']),
Loading
Loading
@@ -50,7 +56,7 @@ export default {
:title="__('Pipelines')"
class="ide-sidebar-link is-right"
:class="{
active: rightPane === $options.rightSidebarViews.pipelines
active: pipelinesActive
}"
type="button"
@click="clickTab($event, $options.rightSidebarViews.pipelines)"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment