File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 291
291
v-model =" monitor.docker_host"
292
292
:options =" dockerHostOptionsList"
293
293
:disabled =" $root.dockerHostList == null || $root.dockerHostList.length === 0"
294
- :icon =" 'cog'"
295
- :action =" () => $refs.dockerHostDialog.show(monitor.docker_host)"
296
- :actionDisabled =" !$root.dockerHostList || $root.dockerHostList.length === 0"
294
+ :icon =" 'plus'"
295
+ :action =" () => $refs.dockerHostDialog.show()"
297
296
:required =" true"
298
297
/>
299
298
</div >
300
-
301
- <button class =" btn btn-primary me-2" type =" button" @click =" $refs.dockerHostDialog.show()" >
302
- {{ $t("Setup Docker Host") }}
303
- </button >
304
299
</div >
305
300
306
301
<!-- MQTT -->
824
819
</form >
825
820
826
821
<NotificationDialog ref =" notificationDialog" @added =" addedNotification" />
827
- <DockerHostDialog ref =" dockerHostDialog" @added =" addedDockerHost" @deleted = " deletedDockerHost " />
822
+ <DockerHostDialog ref =" dockerHostDialog" @added =" addedDockerHost" />
828
823
<ProxyDialog ref =" proxyDialog" @added =" addedProxy" />
829
824
<CreateGroupDialog ref =" createGroupDialog" @added =" addedDraftGroup" />
830
825
</div >
@@ -1501,18 +1496,6 @@ message HealthCheckResponse {
1501
1496
this .monitor .docker_host = id;
1502
1497
},
1503
1498
1504
- /**
1505
- * A docker host was deleted
1506
- * Unset the docker host if it was deleted
1507
- * @param {number} id - The ID of the Docker host that was deleted.
1508
- * @returns {void}
1509
- */
1510
- deletedDockerHost (id ) {
1511
- if (this .monitor .docker_host === id) {
1512
- this .monitor .docker_host = null ;
1513
- }
1514
- },
1515
-
1516
1499
/**
1517
1500
* Adds a draft group.
1518
1501
* @param {string} draftGroupName The name of the draft group.
You can’t perform that action at this time.
0 commit comments