mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 14:02:17 +00:00
Fix: request service status during add mode
This commit is contained in:
@@ -491,6 +491,11 @@ export default {
|
||||
},
|
||||
|
||||
requestServiceStatus() {
|
||||
// Do not request if it is add mode
|
||||
if (this.isAdd) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.$root.emitAgent(this.endpoint, "serviceStatusList", this.stack.name, (res) => {
|
||||
if (res.ok) {
|
||||
this.serviceStatusList = res.serviceStatusList;
|
||||
|
||||
Reference in New Issue
Block a user