Fixed frontend build
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2022-09-18 15:24:22 +02:00
parent 8c45ff5ac4
commit e435628690
6 changed files with 14551 additions and 3973 deletions

View File

@@ -4,7 +4,7 @@ FROM node:latest as build
WORKDIR /usr/local/app
# Copy the project files to the container
COPY frontend /usr/local/app/
COPY . /usr/local/app/
# Install dependencies
RUN npm install

18509
frontend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,8 +4,8 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod --build-optimizer",
"watch": "ng build --watch --configuration development",
"build": "ng build --configuration production --build-optimizer",
"watch": "ng build --configuration development --watch",
"test": "ng test",
"lint": "ng lint",
"compodoc": "npx compodoc -p tsconfig.doc.json"

View File

@@ -106,8 +106,13 @@ export class BotSettingsComponent implements OnInit {
}
setCronString() {
let val = this.cronForm.value
if(val === null) {
val = "";
}
this.profileService
.addCronString(this.cronForm.value)
.addCronString(val)
.subscribe((result) => {
console.log(result);
});