[#3344, #2505] optimized records listing

This commit is contained in:
Gani Georgiev
2023-09-24 11:05:12 +03:00
parent 0f5dad7ede
commit 2550a9de54
48 changed files with 442 additions and 236 deletions

View File

@@ -330,11 +330,11 @@
bind:this={upsertPanel}
{collection}
on:save={(e) => {
CommonHelper.removeByKey(list, "id", e.detail.id);
list.unshift(e.detail);
CommonHelper.removeByKey(list, "id", e.detail.record.id);
list.unshift(e.detail.record);
list = list;
select(e.detail);
select(e.detail.record);
}}
on:delete={(e) => {
CommonHelper.removeByKey(list, "id", e.detail.id);