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,12 +136,16 @@
|
|||||||
style:padding={$deviceInfo.docWidth <= 480 ? '.25rem 1.25rem' : '4rem 5rem'}
|
style:padding={$deviceInfo.docWidth <= 480 ? '.25rem 1.25rem' : '4rem 5rem'}
|
||||||
style:min-height={$deviceInfo.docHeight > 720 ? '42rem' : '0'}
|
style:min-height={$deviceInfo.docHeight > 720 ? '42rem' : '0'}
|
||||||
on:keydown={(evt) => {
|
on:keydown={(evt) => {
|
||||||
if (evt.key === 'Enter' && !inAction) {
|
if (evt.key === 'Enter') {
|
||||||
validate($themeStore.language).then((res) => {
|
evt.preventDefault()
|
||||||
if (res) {
|
evt.stopPropagation()
|
||||||
performAction(action)
|
if (!inAction) {
|
||||||
}
|
validate($themeStore.language).then((res) => {
|
||||||
})
|
if (res) {
|
||||||
|
performAction(action)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user