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