mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
940385f9c4
commit
a58915ca96
@ -68,8 +68,7 @@ export class PodLogsStore extends DockTabStore<IPodLogsData> {
|
||||
});
|
||||
if (!oldLogs) {
|
||||
this.update(tabId, loadedLogs);
|
||||
}
|
||||
else if (oldLogs) {
|
||||
} else {
|
||||
this.update(tabId, "", `${newLogs}\n${loadedLogs}`.trim());
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
@ -33,7 +33,7 @@ export class PodLogs extends React.Component<Props> {
|
||||
{ label: 100000, value: 100000 },
|
||||
];
|
||||
|
||||
async componentDidMount() {
|
||||
componentDidMount() {
|
||||
disposeOnUnmount(this,
|
||||
reaction(() => this.props.tab.id, async () => {
|
||||
if (podLogsStore.logs.has(this.tabId)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user