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 294
294
v-model =" monitor.docker_host"
295
295
:options =" dockerHostOptionsList"
296
296
:disabled =" $root.dockerHostList == null || $root.dockerHostList.length === 0"
297
- :icon =" 'cog'"
298
- :action =" () => $refs.dockerHostDialog.show(monitor.docker_host)"
299
- :actionDisabled =" !$root.dockerHostList || $root.dockerHostList.length === 0"
297
+ :icon =" 'plus'"
298
+ :action =" () => $refs.dockerHostDialog.show()"
300
299
:required =" true"
301
300
/>
302
301
</div >
303
-
304
- <button class =" btn btn-primary me-2" type =" button" @click =" $refs.dockerHostDialog.show()" >
305
- {{ $t("Setup Docker Host") }}
306
- </button >
307
302
</div >
308
303
309
304
<!-- MQTT -->
827
822
</form >
828
823
829
824
<NotificationDialog ref =" notificationDialog" @added =" addedNotification" />
830
- <DockerHostDialog ref =" dockerHostDialog" @added =" addedDockerHost" @deleted = " deletedDockerHost " />
825
+ <DockerHostDialog ref =" dockerHostDialog" @added =" addedDockerHost" />
831
826
<ProxyDialog ref =" proxyDialog" @added =" addedProxy" />
832
827
<CreateGroupDialog ref =" createGroupDialog" @added =" addedDraftGroup" />
833
828
</div >
@@ -1509,18 +1504,6 @@ message HealthCheckResponse {
1509
1504
this .monitor .docker_host = id;
1510
1505
},
1511
1506
1512
- /**
1513
- * A docker host was deleted
1514
- * Unset the docker host if it was deleted
1515
- * @param {number} id - The ID of the Docker host that was deleted.
1516
- * @returns {void}
1517
- */
1518
- deletedDockerHost (id ) {
1519
- if (this .monitor .docker_host === id) {
1520
- this .monitor .docker_host = null ;
1521
- }
1522
- },
1523
-
1524
1507
/**
1525
1508
* Adds a draft group.
1526
1509
* @param {string} draftGroupName The name of the draft group.
You can’t perform that action at this time.
0 commit comments