Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1229a73944
@ -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
|
||||
|
||||
@ -1,2 +1 @@
|
||||
dist
|
||||
node_modules
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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[];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user