mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
refactor(files): remove success toast on file rename
Signed-off-by: Abhinav Ohri <abhinavohri13@gmail.com>
This commit is contained in:
parent
433e3da4d3
commit
0b405f108a
1 changed files with 1 additions and 2 deletions
|
|
@ -42,7 +42,7 @@
|
|||
import type { FileAction, Node } from '@nextcloud/files'
|
||||
import type { PropType } from 'vue'
|
||||
|
||||
import { showError, showSuccess } from '@nextcloud/dialogs'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import { FileType, NodeStatus } from '@nextcloud/files'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { defineComponent, inject } from 'vue'
|
||||
|
|
@ -262,7 +262,6 @@ export default defineComponent({
|
|||
try {
|
||||
const status = await this.renamingStore.rename()
|
||||
if (status) {
|
||||
showSuccess(t('files', 'Renamed "{oldName}" to "{newName}"', { oldName, newName: this.source.basename }))
|
||||
this.$nextTick(() => {
|
||||
const nameContainer = this.$refs.basename as HTMLElement | undefined
|
||||
nameContainer?.focus()
|
||||
|
|
|
|||
Loading…
Reference in a new issue