Skip to content

Commit

Permalink
fix(#89): rename tabs click emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-prinz-mw committed Apr 19, 2023
1 parent 956aa32 commit 0886e30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ publish versionType:
publish-core versionType:
just build {{ stencil }}
git add . && git commit -m "chore: build {{ stencil }} integration"
cd {{ stencil }} && npm run release -- {{ versionType }} --verbose
cd {{ stencil }} && npm run release -- {{ versionType }} --ci

publish-integration integration versionType:
just update-core {{ integration }}
Expand Down
4 changes: 2 additions & 2 deletions mwui-stencil/src/components/mw-tabs/mw-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export class MwTabs {
cancelable: false,
composed: false,
})
emitter: EventEmitter<{ selected: number }>;
tabsClickEmitter: EventEmitter<{ selected: number }>;

private handleClick(key: number): void {
this.selected = key;
this.emitter.emit({ selected: key });
this.tabsClickEmitter.emit({ selected: key });
}

componentWillRender(): void {
Expand Down

0 comments on commit 0886e30

Please sign in to comment.