Skip to content

Commit a78f08f

Browse files
committed
chore: empty table messages
1 parent 9eba25e commit a78f08f

File tree

9 files changed

+20
-0
lines changed

9 files changed

+20
-0
lines changed

src/components/overlays/AddAppUserRoles/UserListContent.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export default function UserListContent() {
9393
},
9494
]}
9595
checkboxSelection
96+
emptyDataMsg={t('global.table.emptyDataMsg')}
97+
noSearchResultsMsg={t('global.table.noSearchResults')}
9698
/>
9799
)
98100
}

src/components/pages/Admin/RegistrationRequests/RequestList/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ export const RequestList = ({
154154
)}${t('content.admin.registration-requests.introText2')}`}
155155
defaultFilter={group}
156156
filterViews={filterView}
157+
emptyDataMsg={t('global.table.emptyDataMsg')}
158+
noSearchResultsMsg={t('global.table.noSearchResults')}
157159
/>
158160
</section>
159161
)

src/components/pages/AdminCredential/AdminCredentialElements.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ export default function AdminCredentialElements() {
436436
setSortOption(value)
437437
}}
438438
disableColumnSelector={true}
439+
emptyDataMsg={t('global.table.emptyDataMsg')}
440+
noSearchResultsMsg={t('global.table.noSearchResults')}
439441
/>
440442
</div>
441443
</>

src/components/pages/CompanySubscriptions/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ export default function CompanySubscriptions() {
229229
onClearSearch={() => {
230230
setSearchExpr('')
231231
}}
232+
emptyDataMsg={t('global.table.emptyDataMsg')}
233+
noSearchResultsMsg={t('global.table.noSearchResults')}
232234
/>
233235
</div>
234236
)

src/components/pages/EdcConnector/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ const EdcConnector = () => {
504504
onCellClick={(params: GridCellParams) => {
505505
onTableCellClick(params)
506506
}}
507+
emptyDataMsg={t('global.table.emptyDataMsg')}
508+
noSearchResultsMsg={t('global.table.noSearchResults')}
507509
/>
508510
</div>
509511
</TabPanel>
@@ -520,6 +522,8 @@ const EdcConnector = () => {
520522
onCellClick={(params: GridCellParams) => {
521523
onTableCellClick(params)
522524
}}
525+
emptyDataMsg={t('global.table.emptyDataMsg')}
526+
noSearchResultsMsg={t('global.table.noSearchResults')}
523527
/>
524528
</div>
525529
</TabPanel>

src/components/pages/InviteBusinessPartner/InviteList/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ export const InviteList = ({
135135
),
136136
},
137137
]}
138+
emptyDataMsg={t('global.table.emptyDataMsg')}
139+
noSearchResultsMsg={t('global.table.noSearchResults')}
138140
/>
139141
</section>
140142
)

src/components/pages/OnboardingServiceProvider/OnboardingServiceProvider.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ const OnboardingServiceProvider = () => {
404404
sortable: false,
405405
},
406406
]}
407+
emptyDataMsg={t('global.table.emptyDataMsg')}
408+
noSearchResultsMsg={t('global.table.noSearchResults')}
407409
/>
408410
</div>
409411
</TabPanel>

src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ export const TechnicalUserTable = () => {
208208
),
209209
},
210210
]}
211+
emptyDataMsg={t('global.table.emptyDataMsg')}
212+
noSearchResultsMsg={t('global.table.noSearchResults')}
211213
/>
212214
</div>
213215
)

src/components/shared/frame/UserList/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ export const UserList = ({
208208
},
209209
]}
210210
disableColumnMenu
211+
emptyDataMsg={t('global.table.emptyDataMsg')}
212+
noSearchResultsMsg={t('global.table.noSearchResults')}
211213
/>
212214
</section>
213215
)

0 commit comments

Comments
 (0)