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 859ff7b commit 822b5efCopy full SHA for 822b5ef
apps/files/src/components/FileEntryMixin.ts
@@ -161,6 +161,10 @@ export default defineComponent({
161
this.actionsMenuStore.opened = opened ? this.uniqueId.toString() : null
162
},
163
164
+
165
+ isRenaming() {
166
+ return this.renamingStore.renamingNode === this.source
167
+ },
168
169
170
watch: {
@@ -225,6 +229,11 @@ export default defineComponent({
225
229
226
230
227
231
execDefaultAction(event) {
232
+ // Ignore click if we are renaming
233
+ if (this.isRenaming) {
234
+ return
235
+ }
236
228
237
// Ignore right click.
238
if (event.button > 1) {
239
return
0 commit comments