Skip to content

Commit 83e1c67

Browse files
committed
move tsignore to correct line
1 parent 3e472cb commit 83e1c67

File tree

8 files changed

+29
-25
lines changed

8 files changed

+29
-25
lines changed

src/packages/core/components/dropdown/dropdown.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ export class UmbDropdownElement extends UmbLitElement {
4545
}
4646
}
4747

48-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
49-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
50-
// @ts-ignore
5148
#onToggle(event: ToggleEvent) {
49+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
50+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
51+
// @ts-ignore
5252
this.open = event.newState === 'open';
5353
}
5454

src/packages/core/workspace/components/workspace-action-menu/workspace-action-menu.element.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ export class UmbWorkspaceActionMenuElement extends UmbLitElement {
8080
}
8181
}
8282

83-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
84-
// @ts-ignore
8583
#onPopoverToggle(event: ToggleEvent) {
84+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
85+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
86+
// @ts-ignore
8687
this._popoverOpen = event.newState === 'open';
8788
}
8889

@@ -110,12 +111,12 @@ export class UmbWorkspaceActionMenuElement extends UmbLitElement {
110111
this._items,
111112
(ext) => ext.alias,
112113
(ext) => ext.component,
113-
)
114+
)
114115
: ''}
115116
</uui-scroll-container>
116117
</umb-popover-layout>
117118
</uui-popover-container>
118-
`
119+
`
119120
: nothing;
120121
}
121122

src/packages/core/workspace/components/workspace-entity-action-menu/workspace-entity-action-menu.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement {
4545
this._popover?.hidePopover();
4646
}
4747

48-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
49-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
50-
// @ts-ignore
5148
#onPopoverToggle(event: ToggleEvent) {
49+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
50+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
51+
// @ts-ignore
5252
this._popoverOpen = event.newState === 'open';
5353
}
5454

src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,17 @@ export class UmbWorkspaceSplitViewVariantSelectorElement extends UmbLitElement {
189189
return this._variants?.length > 1;
190190
}
191191

192-
// TODO: This ignorer is just needed for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
193-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
194-
// @ts-ignore
195192
#onPopoverToggle(event: ToggleEvent) {
193+
// TODO: This ignorer is just needed for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
194+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
195+
// @ts-ignore
196196
this._variantSelectorOpen = event.newState === 'open';
197197

198198
if (!this._popoverElement) return;
199199

200+
// TODO: This ignorer is just needed for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
201+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
202+
// @ts-ignore
200203
const isOpen = event.newState === 'open';
201204
if (!isOpen) return;
202205

src/packages/documents/documents/collection/action/create-document-collection-action.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ export class UmbCreateDocumentCollectionActionElement extends UmbLitElement {
8686
}
8787
}
8888

89-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
90-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
91-
// @ts-ignore
9289
#onPopoverToggle(event: ToggleEvent) {
90+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
91+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
92+
// @ts-ignore
9393
this._popoverOpen = event.newState === 'open';
9494
}
9595

src/packages/language/app-language-select/app-language-select.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export class UmbAppLanguageSelectElement extends UmbLitElement {
4949
}
5050
}
5151

52-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
53-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
54-
// @ts-ignore
5552
#onPopoverToggle(event: ToggleEvent) {
53+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
54+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
55+
// @ts-ignore
5656
this._isOpen = event.newState === 'open';
5757
if (this._isOpen && !this.#languagesObserver) {
5858
if (this._popoverElement) {

src/packages/media/media/collection/action/create-media-collection-action.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ export class UmbCreateMediaCollectionActionElement extends UmbLitElement {
8080
}
8181
}
8282

83-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
84-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
85-
// @ts-ignore
8683
#onPopoverToggle(event: ToggleEvent) {
84+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
85+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
86+
// @ts-ignore
8787
this._popoverOpen = event.newState === 'open';
8888
}
8989

src/packages/media/media/modals/media-picker/components/media-picker-create-item.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export class UmbMediaPickerCreateItemElement extends UmbLitElement {
4040
this._allowedMediaTypes = allowedMediaTypes?.items ?? [];
4141
}
4242

43-
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
44-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
45-
// @ts-ignore
4643
#onPopoverToggle(event: ToggleEvent) {
44+
// TODO: This ignorer is just neede for JSON SCHEMA TO WORK, As its not updated with latest TS jet.
45+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
46+
// @ts-ignore
4747
this._popoverOpen = event.newState === 'open';
4848
}
4949

0 commit comments

Comments
 (0)