Skip to content

Commit 9bc102b

Browse files
authored
(fix) O3-4475: Rename the Operations empty state (#259)
1 parent 836abf3 commit 9bc102b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/stock-operations/stock-operations-table.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ const StockOperations: React.FC<StockOperationsTableProps> = () => {
303303
<div className={styles.tileContainer}>
304304
<Tile className={styles.tile}>
305305
<div className={styles.tileContent}>
306-
<p className={styles.content}>{t('noOperationsToDisplay', 'No Stock Items to display')}</p>
306+
<p className={styles.content}>{t('noOperationsToDisplay', 'No Stock Operations to display')}</p>
307307
<p className={styles.helper}>{t('checkFilters', 'Check the filters above')}</p>
308308
</div>
309309
</Tile>

src/stock-user-role-scopes/stock-user-role-scopes-items-table.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function StockUserRoleScopesItems() {
230230
<div className={styles.tileContainer}>
231231
<Tile className={styles.tile}>
232232
<div className={styles.tileContent}>
233-
<p className={styles.content}>{t('noOperationsToDisplay', 'No Stock User scopes to display')}</p>
233+
<p className={styles.content}>{t('noUserScopesToDisplay', 'No Stock User scopes to display')}</p>
234234
<p className={styles.helper}>{t('checkFilters', 'Check the filters above')}</p>
235235
</div>
236236
</Tile>

translations/en.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@
174174
"noData": "No data to display",
175175
"noItemsToDisplay": "No Stock Items to display",
176176
"noneFulfillment": "Non Fulfillment",
177-
"noOperationsToDisplay": "No Stock User scopes to display",
177+
"noOperationsToDisplay": "No Stock Operations to display",
178+
"noUserScopesToDisplay": "No Stock User scopes to display",
178179
"noPrivilagesTitle": "",
179180
"noReportsToDisplay": "No Stock reports to display",
180181
"noRulesToDisplay": "No Stock rules to display",

0 commit comments

Comments
 (0)