5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 23:56:22 +00:00

feat: deshabilitar el botón mientras está compilando también

para no lanzar más de una compilación por vez
This commit is contained in:
f 2024-04-10 13:32:37 -03:00
parent 847af3374c
commit 5e1def1028
No known key found for this signature in database

View file

@ -6,4 +6,4 @@
class: "btn btn-secondary #{local_assigns[:class]}", class: "btn btn-secondary #{local_assigns[:class]}",
title: site.enqueued? ? t('help.sites.enqueued') : t('help.sites.enqueue'), title: site.enqueued? ? t('help.sites.enqueued') : t('help.sites.enqueue'),
data: { disable_with: t('sites.enqueued') }, data: { disable_with: t('sites.enqueued') },
disabled: site.enqueued? disabled: !site.waiting?