fix(editor): Enable pin data button to also un-pin (#13642)

This commit is contained in:
Milorad FIlipović
2025-03-03 16:17:59 +01:00
committed by GitHub
parent d9e3cfe13f
commit 24681f843c
5 changed files with 44 additions and 13 deletions

View File

@@ -528,8 +528,7 @@ const showPinButton = computed(() => {
const pinButtonDisabled = computed(
() =>
pinnedData.hasData.value ||
!rawInputData.value.length ||
(!rawInputData.value.length && !pinnedData.hasData.value) ||
!!binaryData.value?.length ||
isReadOnlyRoute.value ||
readOnlyEnv.value,