Add updateSuccessful/Failed props to knative app
They are used to indicate when knative domain name has changed
This commit is contained in:
parent
60c58c7570
commit
2f0ec5c017
|
@ -89,6 +89,10 @@ export default {
|
|||
type: Boolean,
|
||||
required: false,
|
||||
},
|
||||
updateable: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
updateSuccessful: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
|
@ -326,6 +330,7 @@ export default {
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div v-if="updateable">
|
||||
<div
|
||||
v-if="shouldShowUpgradeDetails"
|
||||
class="form-text text-muted label p-0 js-cluster-application-upgrade-details"
|
||||
|
@ -357,6 +362,7 @@ export default {
|
|||
@click="upgradeClicked"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
:class="{ 'section-25': showManageButton, 'section-15': !showManageButton }"
|
||||
class="table-section table-button-footer section-align-top"
|
||||
|
|
|
@ -77,6 +77,8 @@ export default class ClusterStore {
|
|||
isEditingHostName: false,
|
||||
externalIp: null,
|
||||
externalHostname: null,
|
||||
updateSuccessful: false,
|
||||
updateFailed: false,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -133,6 +133,8 @@ describe('Clusters Store', () => {
|
|||
uninstallable: false,
|
||||
uninstallSuccessful: false,
|
||||
uninstallFailed: false,
|
||||
updateSuccessful: false,
|
||||
updateFailed: false,
|
||||
},
|
||||
cert_manager: {
|
||||
title: 'Cert-Manager',
|
||||
|
|
Loading…
Reference in New Issue