зеркало из https://github.com/nextcloud/deck.git
fix: Fix focus and emptycontent titles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
a9b65de341
Коммит
792a513bb5
|
@ -69,12 +69,12 @@ export default {
|
|||
color: randomColor(),
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$refs.inputField.focus()
|
||||
},
|
||||
methods: {
|
||||
startCreateBoard(e) {
|
||||
this.editing = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs?.inputField.focus()
|
||||
})
|
||||
},
|
||||
async createBoard(e) {
|
||||
this.loading = true
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
<template #icon>
|
||||
<NcLoadingIcon />
|
||||
</template>
|
||||
<template #title>
|
||||
<template #name>
|
||||
{{ t('deck', 'Creating the new card …') }}
|
||||
</template>
|
||||
</NcEmptyContent>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<template #icon>
|
||||
<CardPlusOutline />
|
||||
</template>
|
||||
<template #title>
|
||||
<template #name>
|
||||
{{ t('deck', 'Card "{card}" was added to "{board}"', { card: card.title, board: selectedBoard.title }) }}
|
||||
</template>
|
||||
<template #action>
|
||||
|
|
Загрузка…
Ссылка в новой задаче