Skip to content

Commit

Permalink
Fix autostop countdown not showing without public url
Browse files Browse the repository at this point in the history
- Require deploy workflow complete before showing autostop countdown
  • Loading branch information
AjBreidenbach authored and aszs committed Dec 13, 2023
1 parent a555c05 commit 5a5b5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/oc-pages/dashboard/pages/deployment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
},
overrideStatus() {
return this.showStartingUpStatus || this.autostopScheduled
return this.showStartingUpStatus || this.deploymentItem.autostopScheduled
}
},
watch: {
Expand Down Expand Up @@ -280,7 +280,7 @@ export default {
</template>
<template v-if="overrideStatus" #status>
<div v-if="deploymentItem.autostopScheduled" class="d-inline-flex align-items-center ml-3">
<div v-if="deploymentItem.autostopScheduled && deploymentItem.isRunning" class="d-inline-flex align-items-center ml-3">
Deployment will be automatically stopped in {{autostopRemainingTimeDisplay}}
</div>
Expand Down

0 comments on commit 5a5b5d2

Please sign in to comment.