mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Merge pull request #57168 from abhinavohri/56572
This commit is contained in:
commit
41ec34c05e
3 changed files with 4 additions and 5 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()
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue