fix: Fix focus and emptycontent titles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2024-09-01 09:26:21 +02:00
committed by backportbot[bot]
parent dc7a41ee35
commit c665cfb03d
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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>