Skip to content

Commit

Permalink
flake8/linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Dec 9, 2024
1 parent a228e1f commit 2cafba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions applications/aws_dashboard/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""SageWorks Dashboard: A SageWorks Web Application for viewing and managing SageWorks Artifacts"""

from dash import Dash, html, page_container, Input, Output, ClientsideFunction
from dash import Dash, html, page_container, Input, Output
import dash_bootstrap_components as dbc


Expand Down Expand Up @@ -56,7 +56,7 @@
}
""",
Output("trigger_link_click", "children"), # Updated ID for clarity
Input("navigate-link", "children")
Input("navigate-link", "children"),
)

# Spin up the Plugin Manager
Expand Down
9 changes: 1 addition & 8 deletions applications/aws_dashboard/pages/main/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,10 @@ def main_layout(
children=[
# This refreshes the page every 60 seconds
dcc.Interval(id="main_page_refresh", interval=update_rate, n_intervals=0),

# Hidden link to navigate to subpages
html.A(
id="navigate-link",
href="",
target="_blank",
style={"display": "none"}
),
html.A(id="navigate-link", href="", target="_blank", style={"display": "none"}),
# Hidden trigger for the link click (to navigate to subpages)
html.Div(id="trigger_link_click", style={"display": "none"}),

# Top of Main Page Header/Info Section
dbc.Row(
[
Expand Down

0 comments on commit 2cafba6

Please sign in to comment.