Env definition

This commit is contained in:
ziajka
2019-01-28 10:24:00 +01:00
parent 4ea8c9568f
commit 65acfbb11c
5 changed files with 13 additions and 5 deletions

View File

@ -92,6 +92,9 @@ import { InstallSoftwareComponent } from './components/installed-software/instal
import { StyleEditorDialogComponent } from './components/project-map/drawings-editors/style-editor/style-editor.component'; import { StyleEditorDialogComponent } from './components/project-map/drawings-editors/style-editor/style-editor.component';
import { EditTextActionComponent } from './components/project-map/context-menu/actions/edit-text-action/edit-text-action.component'; import { EditTextActionComponent } from './components/project-map/context-menu/actions/edit-text-action/edit-text-action.component';
import { TextEditorDialogComponent } from './components/project-map/drawings-editors/text-editor/text-editor.component'; import { TextEditorDialogComponent } from './components/project-map/drawings-editors/text-editor/text-editor.component';
import { InstalledSoftwareService } from './services/installed-software.service';
import { ExternalSoftwareDefinitionService } from './services/external-software-definition.service';
import { PlatformService } from './services/platform.service';
if (environment.production) { if (environment.production) {
Raven.config('https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726', { Raven.config('https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726', {
@ -191,7 +194,10 @@ if (environment.production) {
ServerErrorHandler, ServerErrorHandler,
ServerDatabase, ServerDatabase,
ProjectNameValidator, ProjectNameValidator,
ToolsService ToolsService,
InstalledSoftwareService,
ExternalSoftwareDefinitionService,
PlatformService
], ],
entryComponents: [ entryComponents: [
AddServerDialogComponent, AddServerDialogComponent,

View File

@ -23,7 +23,6 @@ export class InstalledSoftwareComponent implements OnInit {
onInstalled(event) { onInstalled(event) {
this.dataSource.refresh(); this.dataSource.refresh();
console.log("On installed", event);
/** /**
* During software installation we are not performing any user action * During software installation we are not performing any user action
* in browser hence Angular doesn't know something suppose to change. * in browser hence Angular doesn't know something suppose to change.

View File

@ -1,4 +1,5 @@
export const environment = { export const environment = {
production: true, production: true,
electron: true electron: true,
solarputty_download_url: ""
}; };

View File

@ -1,4 +1,5 @@
export const environment = { export const environment = {
production: false, production: false,
electron: true electron: true,
solarputty_download_url: ""
}; };

View File

@ -1,5 +1,6 @@
export const environment = { export const environment = {
production: true, production: true,
electron: false, electron: false,
githubio: true githubio: true,
solarputty_download_url: ""
}; };