Commit a97a4bdc authored by Mike Greiling's avatar Mike Greiling

display manage application button only when it is installed

parent 39d5adde
......@@ -93,6 +93,9 @@
return label;
},
showManageButton() {
return this.manageLink && this.status === APPLICATION_INSTALLED;
},
manageButtonLabel() {
return s__('ClusterIntegration|Manage');
},
......@@ -149,11 +152,11 @@
</div>
<div
class="table-section table-button-footer section-align-top"
:class="{ 'section-20': manageLink, 'section-15': !manageLink }"
:class="{ 'section-20': showManageButton, 'section-15': !showManageButton }"
role="gridcell"
>
<div
v-if="manageLink"
v-if="showManageButton"
class="btn-group table-action-buttons"
>
<a
......
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