fix(editor): Consistent protected environment styling and messaging (#12374)

This commit is contained in:
Raúl Gómez Morales
2024-12-27 14:18:30 +01:00
committed by GitHub
parent 983e87a9b0
commit 6891cefa6d
10 changed files with 224 additions and 68 deletions

View File

@@ -8,6 +8,7 @@ type Action = {
};
defineProps<{
actions: Action[];
disabled?: boolean;
}>();
const emit = defineEmits<{
@@ -25,7 +26,7 @@ const emit = defineEmits<{
:teleported="false"
@action="emit('action', $event)"
>
<N8nIconButton :class="[$style.buttonGroupDropdown]" icon="angle-down" />
<N8nIconButton :disabled="disabled" :class="[$style.buttonGroupDropdown]" icon="angle-down" />
</N8nActionToggle>
</div>
</template>