fix: Fix focus and emptycontent titles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
backportbot[bot]
parent
dc7a41ee35
commit
c665cfb03d
@@ -69,12 +69,12 @@ export default {
|
|||||||
color: randomColor(),
|
color: randomColor(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.$refs.inputField.focus()
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
startCreateBoard(e) {
|
startCreateBoard(e) {
|
||||||
this.editing = true
|
this.editing = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs?.inputField.focus()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
async createBoard(e) {
|
async createBoard(e) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<template #icon>
|
<template #icon>
|
||||||
<NcLoadingIcon />
|
<NcLoadingIcon />
|
||||||
</template>
|
</template>
|
||||||
<template #title>
|
<template #name>
|
||||||
{{ t('deck', 'Creating the new card …') }}
|
{{ t('deck', 'Creating the new card …') }}
|
||||||
</template>
|
</template>
|
||||||
</NcEmptyContent>
|
</NcEmptyContent>
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
<template #icon>
|
<template #icon>
|
||||||
<CardPlusOutline />
|
<CardPlusOutline />
|
||||||
</template>
|
</template>
|
||||||
<template #title>
|
<template #name>
|
||||||
{{ t('deck', 'Card "{card}" was added to "{board}"', { card: card.title, board: selectedBoard.title }) }}
|
{{ t('deck', 'Card "{card}" was added to "{board}"', { card: card.title, board: selectedBoard.title }) }}
|
||||||
</template>
|
</template>
|
||||||
<template #action>
|
<template #action>
|
||||||
|
|||||||
Reference in New Issue
Block a user