Merge remote-tracking branch 'origin/master'

This commit is contained in:
Marco Zeisler 2021-05-12 11:23:15 +02:00
commit 1229a73944
4 changed files with 7 additions and 3 deletions

View File

@ -132,6 +132,11 @@ docker-build-fe:
script:
- docker-compose build waecm_g4_fe
- docker save -o waecm_g4_fe ${DOCKER_USER}/${ASSIGNMENT}-fe
cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths:
- frontend/node_modules/
policy: pull
extends:
- .docker-build
- .docker-setup

View File

@ -1,2 +1 @@
dist
node_modules

View File

@ -6,6 +6,6 @@ WORKDIR /app
COPY . .
RUN npm install
RUN npm install && npm install chokidar --save
ENTRYPOINT npm run -- ng serve --host 0.0.0.0 --port 4200

View File

@ -1,7 +1,7 @@
import {AbstractControl} from '@angular/forms';
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
if (control.value === undefined) {
if (control.value === null) {
return null;
}
let split: string[];