mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
🧵 Enable threads by default (#9736)
* Delabs threads * remove threads reload when labs is toggled * Fix ts strict * fix rebase mistake * remove .only * fix pr comments * re-introduce backwards compat * Fix export test * Fix SearchREsultTile test * strict ts
This commit is contained in:
@@ -278,10 +278,10 @@ export default class RightPanelStore extends ReadyWatchingStore {
|
||||
// (A nicer fix could be to indicate, that the right panel is loading if there is missing state data and re-emit if the data is available)
|
||||
switch (card.phase) {
|
||||
case RightPanelPhases.ThreadPanel:
|
||||
if (!SettingsStore.getValue("feature_thread")) return false;
|
||||
if (!SettingsStore.getValue("feature_threadstable")) return false;
|
||||
break;
|
||||
case RightPanelPhases.ThreadView:
|
||||
if (!SettingsStore.getValue("feature_thread")) return false;
|
||||
if (!SettingsStore.getValue("feature_threadstable")) return false;
|
||||
if (!card.state.threadHeadEvent) {
|
||||
logger.warn("removed card from right panel because of missing threadHeadEvent in card state");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user