This commit is contained in:
@@ -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
18509
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user