Commit 6c0dcfd6 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Clean up VSA template logic

parent 6baff2b4
......@@ -162,7 +162,7 @@ export default {
"
:svg-path="emptyStateSvgPath"
/>
<div v-if="!shouldRenderEmptyState" class="gl-max-w-full">
<div v-else class="gl-max-w-full">
<path-navigation
v-if="selectedStageReady"
data-testid="vsa-path-navigation"
......@@ -181,11 +181,9 @@ export default {
@selectProject="onProjectsSelect"
@setDateRange="onSetDateRange"
/>
</div>
<div v-if="!shouldRenderEmptyState" class="gl-mt-2">
<gl-empty-state
v-if="hasNoAccessError"
class="js-empty-state"
class="js-empty-state gl-mt-2"
:title="__('You don’t have access to Value Stream Analytics for this group')"
:svg-path="noAccessSvgPath"
:description="
......@@ -195,6 +193,7 @@ export default {
"
/>
<template v-else>
<div class="gl-mt-2">
<template v-if="isOverviewStageSelected">
<value-stream-metrics
:request-path="currentGroupPath"
......@@ -216,6 +215,7 @@ export default {
include-project-name
@handleUpdatePagination="onHandleUpdatePagination"
/>
</div>
<url-sync v-if="selectedStageReady" :query="query" />
</template>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment