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

Clean up empty pod log entries (#3010)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-06-09 16:24:42 +03:00 committed by GitHub
parent 512946a397
commit d6e72ddc1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}