1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

quick fix for logs not showing in tabs after first tab (#4964)

* quick fix for logs not showing in tabs after first tab

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* proper fix

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2022-03-04 07:02:29 -05:00 committed by Jim Ehrismann
parent af76c49d8f
commit 895df764d4

View File

@ -39,7 +39,7 @@ const NonInjectedLogsDockTab = observer(({ className, tab, model, subscribeStore
model.reloadLogs(); model.reloadLogs();
return model.stopLoadingLogs; return model.stopLoadingLogs;
}, []); }, [tab.id]);
useEffect(() => subscribeStores([ useEffect(() => subscribeStores([
podsStore, podsStore,
], { ], {