From fe747b2872dcd8323088016e4dd1598b11a781b4 Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Thu, 4 Jul 2024 17:23:53 +1000 Subject: [PATCH] chore: minor adjustments --- Makefile | 2 +- cypress/run.sh | 5 +++-- .../Organizations/PaginatedTable/PaginatedTable.tsx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fa2c67b1..21177d34 100644 --- a/Makefile +++ b/Makefile @@ -59,4 +59,4 @@ development-api-down: .PHONY: down down: $(MAKE) development-api-down - docker-compose -p $(CI_BUILD_TAG) --compatibility down -v --remove-orphans \ No newline at end of file + docker-compose -p $(CI_BUILD_TAG) --compatibility down -v --remove-orphans diff --git a/cypress/run.sh b/cypress/run.sh index a18432fc..54fb46bd 100755 --- a/cypress/run.sh +++ b/cypress/run.sh @@ -1,8 +1,9 @@ #!/bin/bash # create cache for repeat runs -mkdir -p /workdir/cypress_cache -ln -s /workdir/cypress_cache /root/.cache +# mkdir -p /workdir/cypress_cache +# ln -s /workdir/cypress_cache /root/.cache +export CYPRESS_CACHE_FOLDER=/workdir/node_modules/cypress/cache/Cypress yarn --frozen-lockfile # run the tests diff --git a/src/components/Organizations/PaginatedTable/PaginatedTable.tsx b/src/components/Organizations/PaginatedTable/PaginatedTable.tsx index 9389fc14..5a09f7ba 100644 --- a/src/components/Organizations/PaginatedTable/PaginatedTable.tsx +++ b/src/components/Organizations/PaginatedTable/PaginatedTable.tsx @@ -207,7 +207,7 @@ const PaginatedTable: FC = ({ if (list && listKey) { const roleToIdx = {}; list.forEach((role, idx) => { - // @ts-ignore + //@ts-ignore roleToIdx[role] = idx; }); //@ts-ignore