Переработка списков (#5)
Tests / frontend-test (push) Successful in 1m25s

Co-authored-by: gorbenko.pavel <gorbenko.pavel@tansu.kz>
Reviewed-on: http://git.tnsu.kz/timur.gorodetskiy/request-portal/pulls/5
This commit was merged in pull request #5.
This commit is contained in:
2026-08-11 04:23:05 +00:00
parent dcf3f06121
commit 70450aa66d
34 changed files with 2131 additions and 382 deletions
@@ -38,6 +38,8 @@ export function writePage(key: string, page: IPage): void {
// перерисовываясь тем же самым содержимым.
export function pageSignature(page: IPage): string {
return `${page.totalRows}|${page.rows
.map((r) => [r.requestTypeId, r.id, r.title, r.status, r.created, r.authorName].join('~'))
.map((r) =>
[r.requestTypeId, r.id, r.title, r.status, r.created, r.authorName, r.decisionComment ?? ''].join('~')
)
.join(';')}`;
}