From b8bd1982d01bb1e0257ed4c7a1312c53f9f3733a Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 20 Jun 2023 00:05:01 +0530 Subject: [PATCH] refactor: change char limit Signed-off-by: Pranav C --- .../nc-gui/components/smartsheet/column/LinkOptions.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/column/LinkOptions.vue b/packages/nc-gui/components/smartsheet/column/LinkOptions.vue index a53087b4e8..fa3a17cded 100644 --- a/packages/nc-gui/components/smartsheet/column/LinkOptions.vue +++ b/packages/nc-gui/components/smartsheet/column/LinkOptions.vue @@ -16,8 +16,8 @@ setAdditionalValidations({ { validator: (_, value: string) => { return new Promise((resolve, reject) => { - if (value?.length > 64) { - return reject(new Error('The length exceeds the max 64 characters')) + if (value?.length > 59) { + return reject(new Error('The length exceeds the max 59 characters')) } resolve(true) }) @@ -28,8 +28,8 @@ setAdditionalValidations({ { validator: (_, value: string) => { return new Promise((resolve, reject) => { - if (value?.length > 64) { - return reject(new Error('The length exceeds the max 64 characters')) + if (value?.length > 59) { + return reject(new Error('The length exceeds the max 59 characters')) } resolve(true) })