Commit 48fb7f2
authored
Fix: Resolve [object Object] displaying in browser tab title on workflow instance page (#1911)
* fix(orchestrator): use t() instead of Trans component for page title
The Trans component returns an element which becomes [object Object] when used as the browser tab title.
Using the t() function directly returns a string, fixing the issue while maintaining i18n support.
* fix(orchestrator): use t() instead of Trans component for page title
The Trans component returns an element which becomes [object Object] when used as the browser tab title.
Using t() directly returns a string, fixing the issue while maintaining i18n support.
* chore: apply prettier formatting to WorkflowInstancePage.tsx1 parent fcefd94 commit 48fb7f2
2 files changed
Lines changed: 10 additions & 7 deletions
File tree
- workspaces/orchestrator
- .changeset
- plugins/orchestrator/src/components/WorkflowInstancePage
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
400 | 396 | | |
401 | 397 | | |
402 | 398 | | |
| |||
0 commit comments