Skip to content

Commit

Permalink
chore: lint fix (#3047)
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Patel <[email protected]>
  • Loading branch information
Akshat55 authored Nov 6, 2024
1 parent 635b512 commit 6c61aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/structured-list/list-row.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class ListRow implements AfterContentInit {
this.input.nativeElement.click();
}
}

onChange(event) {
this.change.emit(event);
}
Expand Down
10 changes: 3 additions & 7 deletions src/structured-list/structured-list.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
const Template = (args) => ({
props: args,
template: `
<cds-structured-list [border]="border" [condensed]="condensed" [nowrap]="nowrap">
<cds-structured-list [condensed]="condensed">
<cds-list-header>
<cds-list-column nowrap="true">Column 1</cds-list-column>
<cds-list-column nowrap="true">Column 2</cds-list-column>
Expand Down Expand Up @@ -64,19 +64,15 @@ const Template = (args) => ({
});
export const Basic = Template.bind({});
Basic.args = {
border: false,
condensed: false,
nowrap: false
condensed: false
};

const SelectionTemplate = (args) => ({
props: args,
template: `
<cds-structured-list
[border]="border"
[condensed]="condensed"
[nowrap]="nowrap"
selection="true"
[selection]="true"
[(ngModel)]="valueSelected">
<cds-list-header>
<cds-list-column nowrap="true">Column 1</cds-list-column>
Expand Down

0 comments on commit 6c61aa8

Please sign in to comment.