Merge pull request #42553 from nextcloud/backport/42443/stable28

[stable28] fix(files): focus file name on renaming also initially
This commit is contained in:
Grigorii K. Shartsev 2024-01-02 22:49:03 +05:00 committed by GitHub
commit 0398f53b93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -174,10 +174,13 @@ export default Vue.extend({
* in the input, without the extension.
* @param renaming
*/
isRenaming(renaming: boolean) {
if (renaming) {
this.startRenaming()
}
isRenaming: {
immediate: true,
handler(renaming: boolean) {
if (renaming) {
this.startRenaming()
}
},
},
},

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long