From 809e172280d5f5c1f25d34762f572b73163d5273 Mon Sep 17 00:00:00 2001 From: sadnub Date: Sat, 14 May 2022 22:01:29 -0400 Subject: [PATCH] Fixes check policy copy issue where copied checks are all of type diskspace --- .vscode/extensions.json | 2 +- api/tacticalrmm/tacticalrmm/constants.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 2361b073..b4f99f3c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,7 +4,7 @@ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "editorconfig.editorconfig", - "johnsoncodehk.volar", + "vue.volar", "wayou.vscode-todo-highlight", // python diff --git a/api/tacticalrmm/tacticalrmm/constants.py b/api/tacticalrmm/tacticalrmm/constants.py index 1c655deb..7adfc5a9 100644 --- a/api/tacticalrmm/tacticalrmm/constants.py +++ b/api/tacticalrmm/tacticalrmm/constants.py @@ -229,6 +229,7 @@ CHECKS_NON_EDITABLE_FIELDS = [ ] POLICY_CHECK_FIELDS_TO_COPY = [ + "check_type", "warning_threshold", "error_threshold", "alert_severity",