Skip to content

Commit 92fbdf8

Browse files
committed
refactor(core): add changes
1 parent 76a96fa commit 92fbdf8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

projects/workflows-creator/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"angular-library"
77
],
88
"peerDependencies": {
9-
"@popperjs/core": "^2.11.6"
9+
"@popperjs/core": "^2.11.6",
10+
"ng-multiselect-dropdown": "^0.3.9"
1011
},
1112
"scripts": {
1213
"checkIfNodeModulesExist": "[ -d \"../../node_modules\" ]",

projects/workflows-creator/src/lib/builder/builder.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
306306

307307
onNodeRemoved() {
308308
this.updateDiagram();
309-
if (this.eventGroups[0]?.children?.length) this.hideNodeElseBlockIfRequired();
309+
if (this.eventGroups[0]?.children?.length)
310+
this.hideNodeElseBlockIfRequired();
310311
}
311312
/**
312313
* When an action is added, emit an event with the name of the action and the action itself, update

projects/workflows-creator/src/lib/workflow-builder.module.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from '@angular/core';
22
import {CommonModule} from '@angular/common';
33

44
import BPMNModdle from 'bpmn-moddle';
5-
import {BrowserModule} from '@angular/platform-browser';
65
import {CustomBpmnModdle} from './types/bpmn.types';
76
import {CAMUNDA} from './schema/camunda.json';
87
import {BpmnElementService} from './services/bpmn/element.service';
@@ -87,7 +86,6 @@ import {TooltipRenderComponent} from './builder/tooltip-render/tooltip-render.co
8786
import {LocalizationPipe} from './pipes/localization.pipe';
8887
import {ENV_TOKEN} from './token';
8988
import {NgSelectModule} from '@ng-select/ng-select';
90-
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
9189

9290
import {
9391
CriteriaInput,
@@ -109,8 +107,6 @@ import {
109107
CommonModule,
110108
FormsModule,
111109
NgxPopperjsModule,
112-
BrowserModule,
113-
BrowserAnimationsModule,
114110
NgMultiSelectDropDownModule.forRoot(),
115111
NgSelectModule,
116112
],

0 commit comments

Comments
 (0)