Преглед на файлове

HUE-3559 [editor] Expired result message not always obvious when scrolling

Enrico Berti преди 9 години
родител
ревизия
dcb85bd
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 3 - 0
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1515,6 +1515,9 @@ ${ hueIcons.symbols() }
                 <tbody>
                 </tbody>
               </table>
+              <div data-bind="visible: status() == 'expired' && result.data() && result.data().length > 99, css: resultsKlass" style="display:none;">
+                <pre class="margin-top-10"><i class="fa fa-check muted"></i> ${ _("Results have expired, rerun the query if needed.") }</pre>
+              </div>
             </div>
 
             <div data-bind="visible: showChart" class="chart-container" style="display:none;">