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:
parent
847af3374c
commit
5e1def1028
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue