Clean up empty pod log entries (#3010)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-06-09 09:24:42 -04:00
1 parent 512946a397
commit d6e72ddc1c
1 file changed
+1 -1
+1 -1
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);
}