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 GitHub
parent 769a9441f8
commit e59cb04d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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