C-Dash: Add telemetry panel
[csit.git] / csit.infra.dash / app / cdash / news / layout.py
index 959d54d..11151d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2022 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -71,7 +71,11 @@ class Layout:
             debug=True
         ).read_stats(days=C.NEWS_TIME_PERIOD)
 
-        df_tst_info = pd.concat([data_mrr, data_ndrpdr], ignore_index=True)
+        df_tst_info = pd.concat(
+            [data_mrr, data_ndrpdr],
+            ignore_index=True,
+            copy=False
+        )
 
         # Prepare information for the control panel:
         self._jobs = sorted(list(df_tst_info["job"].unique()))
@@ -358,7 +362,7 @@ class Layout:
         return dbc.Col(
             id="col-plotting-area",
             children=[
-                dcc.Loading(
+                dbc.Spinner(
                     children=[
                         dbc.Row(
                             id="plotting-area",