mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Fix create workspace (#5740)
This commit is contained in:
parent
e248ac4990
commit
b0657cff63
@ -136,13 +136,17 @@
|
||||
style:padding={$deviceInfo.docWidth <= 480 ? '.25rem 1.25rem' : '4rem 5rem'}
|
||||
style:min-height={$deviceInfo.docHeight > 720 ? '42rem' : '0'}
|
||||
on:keydown={(evt) => {
|
||||
if (evt.key === 'Enter' && !inAction) {
|
||||
if (evt.key === 'Enter') {
|
||||
evt.preventDefault()
|
||||
evt.stopPropagation()
|
||||
if (!inAction) {
|
||||
validate($themeStore.language).then((res) => {
|
||||
if (res) {
|
||||
performAction(action)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}}
|
||||
>
|
||||
{#if loginState !== 'none'}
|
||||
|
Loading…
Reference in New Issue
Block a user