Skip to content

Commit

Permalink
fix(selection): 删除多余代码
Browse files Browse the repository at this point in the history
  • Loading branch information
cmm-va committed Jul 22, 2024
1 parent aef4cc8 commit 035e0ac
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/grid/src/pipes/grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,3 @@ export class SelectOptionPipe implements PipeTransform {
return options.find((item) => item.id === id);
}
}

@Pipe({
name: 'selectedOneField',
standalone: true
})
export class SelectedOneFieldPipe implements PipeTransform {
transform(fields: any) {
return Object.keys(fields ?? {}).length === 1;
}
}

0 comments on commit 035e0ac

Please sign in to comment.