From 0886e309ad7c92e5919032754b9954f47ae3fa8f Mon Sep 17 00:00:00 2001 From: Martin Prinz Date: Wed, 8 Mar 2023 14:02:50 +0000 Subject: [PATCH] fix(#89): rename tabs click emitter --- justfile | 2 +- mwui-stencil/src/components/mw-tabs/mw-tabs.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index ae1c12ec..6dccce64 100644 --- a/justfile +++ b/justfile @@ -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 }} diff --git a/mwui-stencil/src/components/mw-tabs/mw-tabs.tsx b/mwui-stencil/src/components/mw-tabs/mw-tabs.tsx index 4b5b7528..104a155e 100644 --- a/mwui-stencil/src/components/mw-tabs/mw-tabs.tsx +++ b/mwui-stencil/src/components/mw-tabs/mw-tabs.tsx @@ -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 {