diff --git a/solara/website/pages/api/sidebar.py b/solara/website/pages/api/sidebar.py index 6163481d9..542b8324b 100644 --- a/solara/website/pages/api/sidebar.py +++ b/solara/website/pages/api/sidebar.py @@ -15,7 +15,7 @@ def Page(): The sidebar can only be shown in embedded mode on this page. Visit the [Scatter app demo](/apps/scatter) to see an example of a full sidebar used in Soalra server. - [![AppLayout screenshot](/static/public/docs/app-layout.png)](/app/scatter) + [![AppLayout screenshot](/static/public/docs/app-layout.png)](/apps/scatter) """ ) diff --git a/solara/website/pages/apps/scatter.py b/solara/website/pages/apps/scatter.py index 6f30817b6..855ed57d5 100644 --- a/solara/website/pages/apps/scatter.py +++ b/solara/website/pages/apps/scatter.py @@ -67,7 +67,7 @@ def filter_df(): with solara.Card("Controls", margin=0, elevation=0): with solara.Column(): with solara.Row(): - solara.Button("Sample dataset", color="primary", text=True, outlined=True, on_click=State.load_sample, disabled=df is None) + solara.Button("Sample dataset", color="primary", text=True, outlined=True, on_click=State.load_sample, disabled=df is not None) solara.Button("Clear dataset", color="primary", text=True, outlined=True, on_click=State.reset) FileDrop(on_file=State.load_from_file, on_total_progress=lambda *args: None, label="Drag file here")