Rename workflow definition editor notifications component

This commit is contained in:
Sipke Schoorstra 2021-04-12 12:38:33 +02:00
parent 5b3b11e2b5
commit bf7e7894ff
4 changed files with 3 additions and 7 deletions

View file

@ -3,8 +3,7 @@ import {eventBus} from '../../../../services/event-bus';
import {EventTypes, WorkflowDefinition} from "../../../../models";
@Component({
tag: 'elsa-workflow-editor-notifications',
styleUrl: 'elsa-workflow-editor-notifications.css',
tag: 'elsa-workflow-definition-editor-notifications',
shadow: false,
})
export class ElsaWorkflowEditorNotifications {
@ -28,7 +27,7 @@ export class ElsaWorkflowEditorNotifications {
render() {
return (
<Host>
<Host class="block">
<elsa-toast-notification ref={el => this.toastNotificationElement = el}/>
</Host>
);

View file

@ -322,7 +322,7 @@ export class ElsaWorkflowDefinitionEditorScreen {
<elsa-designer-tree model={this.workflowModel} class="flex-1" ref={el => this.designer = el}/>
{this.renderWorkflowSettingsButton()}
<elsa-workflow-settings-modal workflowDefinition={this.workflowDefinition}/>
<elsa-workflow-editor-notifications/>
<elsa-workflow-definition-editor-notifications/>
<div class="fixed bottom-10 right-12">
<div class="flex items-center space-x-4">
{this.renderSavingIndicator()}