Skip to content

Commit

Permalink
fix(angular/modal-service): pass config object to modal function (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Dec 2, 2022
1 parent 4dffd2b commit 8b5f163
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/angular/src/modal/modal.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

import { Injectable } from '@angular/core';
import {
closeModal,
dismissModal,
modal,
ModalConfig as IxModalConfig
closeModal,
dismissModal,
modal,
ModalConfig as IxModalConfig,
} from '@siemens/ix';
import { ModalConfig } from './modal.config';

Expand Down Expand Up @@ -47,6 +47,7 @@ export class ModalService {
embeddedView.detectChanges();

const modalInstance = await modal({
...config,
title: '',
content: node,
});
Expand Down

0 comments on commit 8b5f163

Please sign in to comment.