feat(turbo): longer dely before hiding flash messages
This commit is contained in:
parent
dca4dda228
commit
57c55107c0
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
- if flash.any?
|
- if flash.any?
|
||||||
= turbo_stream.replace 'flash_messages', partial: 'layouts/flash_messages'
|
= turbo_stream.replace 'flash_messages', partial: 'layouts/flash_messages'
|
||||||
= turbo_stream.hide 'flash_messages', delay: 10000
|
= turbo_stream.hide 'flash_messages', delay: 30000
|
||||||
- flash.clear
|
- flash.clear
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
Loading…
Reference in a new issue