mirror of
https://github.com/louislam/dockge.git
synced 2025-06-26 04:31:22 +02:00
Fix: request service status during add mode
This commit is contained in:
parent
6dff52cc73
commit
3e37f38fc7
@ -491,6 +491,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
requestServiceStatus() {
|
requestServiceStatus() {
|
||||||
|
// Do not request if it is add mode
|
||||||
|
if (this.isAdd) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.$root.emitAgent(this.endpoint, "serviceStatusList", this.stack.name, (res) => {
|
this.$root.emitAgent(this.endpoint, "serviceStatusList", this.stack.name, (res) => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.serviceStatusList = res.serviceStatusList;
|
this.serviceStatusList = res.serviceStatusList;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user