> = {
+ success: Icons.Check,
+ failed: Icons.CancelX,
+};
+
export default function TabStatusIcon({ tabState }: TabStatusIconProps) {
- return ;
+ const StatusIcon = STATE_ICONS[tabState];
+ return (
+
+ {StatusIcon && (
+
+
+
+ )}
+
+ );
}
diff --git a/superset-frontend/src/SqlLab/main.less b/superset-frontend/src/SqlLab/main.less
index bec202b7b..aa75c0ec0 100644
--- a/superset-frontend/src/SqlLab/main.less
+++ b/superset-frontend/src/SqlLab/main.less
@@ -161,11 +161,12 @@ div.Workspace {
vertical-align: middle;
font-size: @font-size-m;
font-weight: @font-weight-bold;
+ color: @lightest;
+ position: relative;
}
.running {
- background-color: fade(@success, @opacity-heavy);
- color: @darkest;
+ background-color: @info;
}
.success {