From 186b2b8c26f6a3ddee5b853a3db58b3c14398112 Mon Sep 17 00:00:00 2001 From: tophf Date: Sat, 13 Jan 2024 02:38:12 +0300 Subject: [PATCH] fix: don't count {} in value size --- src/options/views/edit/values.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/views/edit/values.vue b/src/options/views/edit/values.vue index 9cd46e6e46..38e2deb117 100644 --- a/src/options/views/edit/values.vue +++ b/src/options/views/edit/values.vue @@ -256,7 +256,7 @@ function setData(data = {}) { } function calcSize() { store.storageSize = keys.value.reduce((sum, key) => sum - + key.length + 4 + values.value[key].length + 2, 2); + + key.length + 4 + values.value[key].length + 2, 0); } async function updateValue({ key,