Commit 4ed9165
Show Unreported status badge for expenses without a report
When expenses in personal chat are not yet reported, the Status column
shows empty cells because stateNum/statusNum are undefined. Change the
fallback in getReportStatusTranslation and getReportStatusColorStyle
to return an "Unreported" badge instead of empty values. Add the
unreported badge style to both light and dark themes.
Co-authored-by: Jayesh Mangwani <jayeshmangwani@users.noreply.github.com>1 parent fdb0b0f commit 4ed9165
5 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13207 | 13207 | | |
13208 | 13208 | | |
13209 | 13209 | | |
13210 | | - | |
| 13210 | + | |
13211 | 13211 | | |
13212 | 13212 | | |
13213 | 13213 | | |
| |||
13238 | 13238 | | |
13239 | 13239 | | |
13240 | 13240 | | |
13241 | | - | |
| 13241 | + | |
13242 | 13242 | | |
13243 | 13243 | | |
13244 | 13244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10565 | 10565 | | |
10566 | 10566 | | |
10567 | 10567 | | |
10568 | | - | |
10569 | | - | |
10570 | | - | |
10571 | | - | |
| 10568 | + | |
| 10569 | + | |
| 10570 | + | |
| 10571 | + | |
10572 | 10572 | | |
10573 | 10573 | | |
10574 | 10574 | | |
| |||
0 commit comments