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

Clean up empty log entries

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-06-09 14:52:11 +03:00
parent b7e3868f1e
commit 90ae96e322

View File

@ -107,7 +107,7 @@ export class LogStore {
});
// Add newly received logs to bottom
this.podLogs.set(tabId, [...oldLogs, ...logs]);
this.podLogs.set(tabId, [...oldLogs, ...logs.filter(Boolean)]);
} catch (error) {
this.handlerError(tabId, error);
}