Commit 5c3a558
authored
fix(ui): handle missing filename in chat block header (#1406)
Previously, chat blocks without a filename would display 'block' as the
filename. This change updates the logic to use nil for missing filenames
and ensures the UI displays 'block' only when filename is not present.
This improves clarity and consistency in chat block rendering.1 parent 9fdf895 commit 5c3a558
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
804 | | - | |
| 804 | + | |
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
| |||
0 commit comments