We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42fa007 commit 3ff6a1cCopy full SHA for 3ff6a1c
apps/files/src/components/FileEntryMixin.ts
@@ -144,6 +144,10 @@ export default defineComponent({
144
this.actionsMenuStore.opened = opened ? this.uniqueId.toString() : null
145
},
146
147
+
148
+ isRenaming() {
149
+ return this.renamingStore.renamingNode === this.source
150
+ },
151
152
153
watch: {
@@ -208,6 +212,11 @@ export default defineComponent({
208
212
209
213
210
214
execDefaultAction(event) {
215
+ // Ignore click if we are renaming
216
+ if (this.isRenaming) {
217
+ return
218
+ }
219
211
220
// Ignore right click.
221
if (event.button > 1) {
222
return
0 commit comments