Skip to content

Commit

Permalink
fix(context): stop propagation on button
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Oct 4, 2018
1 parent 71acc0a commit a923548
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import { IgoLanguageModule } from '@igo2/core';
import {
IgoListModule,
IgoKeyValueModule,
IgoCollapsibleModule
IgoCollapsibleModule,
IgoStopPropagationModule
} from '@igo2/common';

import { MapContextDirective } from './shared/map-context.directive';
Expand Down Expand Up @@ -57,6 +58,7 @@ const CONTEXT_DIRECTIVES = [
IgoListModule,
IgoKeyValueModule,
IgoCollapsibleModule,
IgoStopPropagationModule,
IgoLanguageModule
],
exports: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '@angular/material';

import { IgoLanguageModule } from '@igo2/core';
import { IgoConfirmDialogModule } from '@igo2/common';
import { IgoConfirmDialogModule, IgoStopPropagationModule } from '@igo2/common';
import { IgoAuthModule } from '@igo2/auth';

import { BookmarkButtonComponent } from './bookmark-button/bookmark-button.component';
Expand All @@ -30,6 +30,7 @@ import { UserButtonComponent } from './user-button/user-button.component';
CommonModule,
IgoLanguageModule,
IgoConfirmDialogModule,
IgoStopPropagationModule,
IgoAuthModule,
FormsModule,
MatIconModule,
Expand Down
3 changes: 2 additions & 1 deletion projects/context/src/lib/tool/tool.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '@angular/material';

import { IgoLanguageModule } from '@igo2/core';
import { IgoListModule } from '@igo2/common';
import { IgoListModule, IgoStopPropagationModule } from '@igo2/common';

import { ToolbarComponent } from './toolbar/toolbar.component';
import { ToolbarBindingDirective } from './toolbar/toolbar-binding.directive';
Expand All @@ -19,6 +19,7 @@ import { ToolboxComponent } from './toolbox/toolbox.component';
CommonModule,
IgoLanguageModule,
IgoListModule,
IgoStopPropagationModule,
MatIconModule,
MatListModule,
MatTooltipModule
Expand Down

0 comments on commit a923548

Please sign in to comment.