mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-14 13:08:07 +00:00
Env definition
This commit is contained in:
@ -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,
|
||||||
|
@ -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.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
electron: true
|
electron: true,
|
||||||
|
solarputty_download_url: ""
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
electron: true
|
electron: true,
|
||||||
|
solarputty_download_url: ""
|
||||||
};
|
};
|
||||||
|
@ -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: ""
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user