diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index ac8e194..af25e4f 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -4,7 +4,7 @@ import json, re, subprocess, os, sys, html as html_mod import sanitize import validation as validate from datetime import datetime, timezone -from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _apply_changes_immediately, _seconds_until_next_run, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR +from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _entry_ts_from_queue, _apply_changes_immediately, _seconds_until_next_run, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR bp = Blueprint('view_page', __name__) @@ -1747,7 +1747,7 @@ def render_layout(view_id, content_html, tokens): + ''.join(f'
  • {d}
  • ' for d in items) + '') uuid_attr = (f' data-health-uuid="{e(fix_uuid)}"' - if fix_uuid and _apply_changes_immediately() else '') + if fix_uuid and _entry_ts_from_queue(fix_uuid) is not None else '') fix_html = (f'
    {fix_suffix}
    ' if fix_suffix else '') content = ('
    '