diff --git a/src/pages/EditMaintenance.vue b/src/pages/EditMaintenance.vue index 70742a9c..9bd5a57d 100644 --- a/src/pages/EditMaintenance.vue +++ b/src/pages/EditMaintenance.vue @@ -28,9 +28,16 @@

{{ $t("Affected Monitors") }}

- {{ $t("affectedMonitorsDescription") }}
+
+
{{ $t("affectedMonitorsDescription") }}
+ +
+ 0 && this.affectedMonitors.length === this.affectedMonitorsOptions.length; + }, + pageName() { let name = "Schedule Maintenance"; @@ -494,6 +505,14 @@ export default { } }, + toggleSelectAllAffectedMonitors() { + if (this.affectedMonitorsAllSelected) { + this.affectedMonitors = []; + } else { + this.affectedMonitors = this.affectedMonitorsOptions.slice(); + } + }, + /** * Create new maintenance * @returns {Promise}