summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-13 11:04:58 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-13 11:04:58 +0900
commit71bbef69c74521c02e8a7d9d009d82a6d35ac015 (patch)
tree54f9694c72109666540175c1e5171c83a81c332a
parentfeat: conditional role (diff)
downloadsharkey-71bbef69c74521c02e8a7d9d009d82a6d35ac015.tar.gz
sharkey-71bbef69c74521c02e8a7d9d009d82a6d35ac015.tar.bz2
sharkey-71bbef69c74521c02e8a7d9d009d82a6d35ac015.zip
:v:
-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 {