Skip to content

Commit

Permalink
fix(module:transfer): correctly set the transfer-list-body class (#8960)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperLife1119 authored Jan 7, 2025
1 parent 1a7f759 commit a3546a9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/transfer/transfer-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ import { NzTransferSearchComponent } from './transfer-search.component';
<span class="ant-transfer-list-header-title">{{ titleText }}</span>
}
</div>
<div
class="{{ showSearch ? 'ant-transfer-list-body ant-transfer-list-body-with-search' : 'ant-transfer-list-body' }}"
[class]="{ 'ant-transfer__nodata': stat.shownCount === 0 }"
>
<div class="ant-transfer-list-body" [class.ant-transfer-list-body-with-search]="showSearch">
@if (showSearch) {
<div class="ant-transfer-list-body-search-wrapper">
<span
Expand Down

0 comments on commit a3546a9

Please sign in to comment.