diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 70f2077f..981c1148 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -55,7 +55,7 @@ jobs: - name: Check front code run: yarn --cwd db-viewer-ui lint - - name: Build docker-compose environment + - name: Build docker compose environment run: docker compose up -d --wait - name: Run db-viewer api @@ -69,7 +69,7 @@ jobs: - name: Stop docker containers if: always() - run: docker rm -f db-viewer-api && docker-compose down + run: docker rm -f db-viewer-api && docker compose down - name: Upload artifacts uses: actions/upload-artifact@v3 diff --git a/db-viewer-ui/src/Components/FieldSelector/FieldSelector.tsx b/db-viewer-ui/src/Components/FieldSelector/FieldSelector.tsx index 504a54df..f70a2800 100644 --- a/db-viewer-ui/src/Components/FieldSelector/FieldSelector.tsx +++ b/db-viewer-ui/src/Components/FieldSelector/FieldSelector.tsx @@ -21,7 +21,7 @@ interface FieldSelectorProps { showSelectAllButton?: boolean; } -function filterFieldDefintionsByText(fieldDefinitions: FieldDefinition[], text: string): FieldDefinition[] { +function filterFieldDefinitionsByText(fieldDefinitions: FieldDefinition[], text: string): FieldDefinition[] { if (!text) { return fieldDefinitions; } @@ -80,27 +80,29 @@ export function FieldSelector({ ); }; - const fieldDefinitionsFiltered = filterFieldDefintionsByText(fieldDefinitions, searchText); + const fieldDefinitionsFiltered = filterFieldDefinitionsByText(fieldDefinitions, searchText); const nothingToDisplay = Ничего не найдено; const allFieldsSelected = isAllFieldSelected(fieldDefinitionsFiltered); return (