Commit ed679ac
committed
fix: update rating display logic in ExifPanel
- Changed the conditional rendering of the rating display to use a ternary operator for better clarity.
- Ensured that the rating is only displayed when it is greater than zero, improving the component's robustness.
Signed-off-by: Innei <tukon479@gmail.com>1 parent 5295b10 commit ed679ac
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments