summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/frontend/src/pages/admin/roles.editor.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue
index f584c5c8bf..e1efb8dcec 100644
--- a/packages/frontend/src/pages/admin/roles.editor.vue
+++ b/packages/frontend/src/pages/admin/roles.editor.vue
@@ -165,9 +165,11 @@ let options_driveCapacityMb_value = $ref(role?.options?.driveCapacityMb?.value ?
let options_antennaLimit_useDefault = $ref(role?.options?.antennaLimit?.useDefault ?? true);
let options_antennaLimit_value = $ref(role?.options?.antennaLimit?.value ?? 0);
-watch($$(condFormula), () => {
- console.log(condFormula);
-}, { deep: true });
+if (_DEV_) {
+ watch($$(condFormula), () => {
+ console.log(JSON.parse(JSON.stringify(condFormula)));
+ }, { deep: true });
+}
function getOptions() {
return {