mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-09 03:24:13 +00:00
Env definition
This commit is contained in:
parent
4ea8c9568f
commit
65acfbb11c
@ -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 { 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 { InstalledSoftwareService } from './services/installed-software.service';
|
||||
import { ExternalSoftwareDefinitionService } from './services/external-software-definition.service';
|
||||
import { PlatformService } from './services/platform.service';
|
||||
|
||||
if (environment.production) {
|
||||
Raven.config('https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726', {
|
||||
@ -191,7 +194,10 @@ if (environment.production) {
|
||||
ServerErrorHandler,
|
||||
ServerDatabase,
|
||||
ProjectNameValidator,
|
||||
ToolsService
|
||||
ToolsService,
|
||||
InstalledSoftwareService,
|
||||
ExternalSoftwareDefinitionService,
|
||||
PlatformService
|
||||
],
|
||||
entryComponents: [
|
||||
AddServerDialogComponent,
|
||||
|
@ -23,7 +23,6 @@ export class InstalledSoftwareComponent implements OnInit {
|
||||
|
||||
onInstalled(event) {
|
||||
this.dataSource.refresh();
|
||||
console.log("On installed", event);
|
||||
/**
|
||||
* During software installation we are not performing any user action
|
||||
* in browser hence Angular doesn't know something suppose to change.
|
||||
|
@ -1,4 +1,5 @@
|
||||
export const environment = {
|
||||
production: true,
|
||||
electron: true
|
||||
electron: true,
|
||||
solarputty_download_url: ""
|
||||
};
|
||||
|
@ -1,4 +1,5 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
electron: true
|
||||
electron: true,
|
||||
solarputty_download_url: ""
|
||||
};
|
||||
|
@ -1,5 +1,6 @@
|
||||
export const environment = {
|
||||
production: true,
|
||||
electron: false,
|
||||
githubio: true
|
||||
githubio: true,
|
||||
solarputty_download_url: ""
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user