Skip to content

Commit bd62701

Browse files
committed
fix: initialize provider state first
1 parent e2dd2db commit bd62701

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/provider/bpmn/BpmnPropertiesProvider.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,9 @@ function getGroups(element, injector) {
237237
export default class BpmnPropertiesProvider {
238238

239239
constructor(propertiesPanel, injector) {
240-
propertiesPanel.registerProvider(this);
241240
this._injector = injector;
241+
242+
propertiesPanel.registerProvider(this);
242243
}
243244

244245
getGroups(element) {

src/provider/camunda-platform/CamundaPlatformPropertiesProvider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ const CAMUNDA_PLATFORM_GROUPS = [
106106
export default class CamundaPlatformPropertiesProvider {
107107

108108
constructor(propertiesPanel, injector) {
109-
propertiesPanel.registerProvider(LOW_PRIORITY, this);
110-
111109
this._injector = injector;
110+
111+
propertiesPanel.registerProvider(LOW_PRIORITY, this);
112112
}
113113

114114
getGroups(element) {

src/provider/zeebe/ZeebePropertiesProvider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ const ZEEBE_GROUPS = [
7676
export default class ZeebePropertiesProvider {
7777

7878
constructor(propertiesPanel, injector) {
79-
propertiesPanel.registerProvider(LOW_PRIORITY, this);
80-
8179
this._injector = injector;
80+
81+
propertiesPanel.registerProvider(LOW_PRIORITY, this);
8282
}
8383

8484
getGroups(element) {

0 commit comments

Comments
 (0)