mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-20 22:03:03 +08:00
Prevent double edit activities when creating a table/well plate [SCI-9992]
This commit is contained in:
parent
a38c2457a9
commit
085918ca92
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@ export default {
|
|||
|
||||
if (this.isNew) {
|
||||
// needs to first update to save metadata at table creation
|
||||
this.update(() => { this.enableTableEdit(); });
|
||||
// updating is triggered by the afterChange hook
|
||||
this.enableTableEdit();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in a new issue