瀏覽代碼

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;">