Merge pull request #8913 from andrej-scinote/aj_SCI_12416

Fix do not save table if task is in view mode [SCI-12416]
This commit is contained in:
andrej-scinote 2025-10-01 12:25:42 +02:00 committed by GitHub
commit 803e37c416
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -558,7 +558,7 @@ export default {
const index = this.elements.findIndex((e) => e.id === element.id);
this.elements[index].isNew = false;
if (skipRequest) {
if (skipRequest || !element.attributes.orderable?.urls?.update_url) {
this.elements[index].attributes.orderable = element.attributes.orderable;
this.$emit('resultUpdated');
} else {