This commit is contained in:
Warunee Tamkoo 2024-03-05 13:18:47 +07:00
parent 32fb4c78ca
commit c1e485519a

View file

@ -98,7 +98,11 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
reqMaster.pageSize = 10;
reqMaster.keyword = "";
reqMaster.revisionId =
store.typeOrganizational == "draft" ? store.draftId : store.activeId;
store.typeOrganizational == "draft"
? store.draftId
: store.typeOrganizational == "current"
? store.activeId
: store.historyId;
}
if (action === true) {