File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,7 +202,13 @@ struct ChatTabBar: View {
202202 )
203203
204204 } else {
205- EmptyView ( )
205+ ChatTabBarButton (
206+ store: store,
207+ info: info,
208+ content: { Text ( " Not Found " ) } ,
209+ icon: { Image ( systemName: " questionmark.diamond " ) } ,
210+ isSelected: info. id == selectedTabId
211+ )
206212 }
207213 }
208214 }
@@ -369,7 +375,7 @@ struct ChatTabContainer: View {
369375 anchor: . topLeading
370376 )
371377 } else {
372- EmptyView ( )
378+ Text ( " 404 Not Found " )
373379 }
374380 }
375381 }
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ open class BaseChatTab {
6767
6868 public init ( store: StoreOf < ChatTabItem > ) {
6969 chatTabStore = store
70+ self . id = store. id
71+ self . title = store. title
7072
7173 Task { @MainActor in
7274 storeObserver. observe { [ weak self] in
You can’t perform that action at this time.
0 commit comments