Proper location of properties (#32)
environmentType and serviceScope should not be persisted, those are runtime values
This commit is contained in:
parent
1e2b740679
commit
d1445e75af
|
@ -2,6 +2,4 @@ import { ServiceScope, EnvironmentType } from '@microsoft/sp-client-base';
|
|||
|
||||
export interface IOrganisationChartWebPartProps {
|
||||
description: string;
|
||||
environmentType: EnvironmentType;
|
||||
serviceScope: ServiceScope;
|
||||
}
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue