client: Fix duplicate ribbon tabs (fixes #582)

This commit is contained in:
Elian Doran 2024-11-18 20:52:35 +02:00
parent 7a8d7f074c
commit a4c0ae06db
No known key found for this signature in database

View File

@ -351,6 +351,11 @@ export default class RibbonContainer extends NoteContextAwareWidget {
} }
} }
noteTypeMimeChangedEvent() {
// We are ignoring the event which triggers a refresh since it is usually already done by a different
// event and causing a race condition in which the items appear twice.
}
/** /**
* Executed as soon as the user presses the "Edit" floating button in a read-only text note. * Executed as soon as the user presses the "Edit" floating button in a read-only text note.
* *