Proper location of properties (#32)

environmentType and serviceScope should not be persisted, those are
runtime values
This commit is contained in:
Wictor Wilén 2016-10-06 12:32:32 +02:00 committed by Vesa Juvonen
parent 1e2b740679
commit d1445e75af
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,4 @@ import { ServiceScope, EnvironmentType } from '@microsoft/sp-client-base';
export interface IOrganisationChartWebPartProps {
description: string;
environmentType: EnvironmentType;
serviceScope: ServiceScope;
}

View File

@ -17,6 +17,8 @@ export interface IOrganisationChartWebPartState {
}
export interface IOrganisationChartProps extends IOrganisationChartWebPartProps {
environmentType: EnvironmentType;
serviceScope: ServiceScope;
}
export default class OrganisationChart extends React.Component<IOrganisationChartProps, IOrganisationChartWebPartState> {