Skip to content

Commit

Permalink
app.tsx.template: Fix alert title/text.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrbt committed Dec 2, 2024
1 parent f6adbeb commit 49998bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/web/app.tsx.template
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class App extends Component<AppProps, AppState> {
<main id="main" class={util.is_native_median_app() ? "col px-4": "col-md-9 ml-sm-auto col-lg-10 px-md-4"} style={this.state.visible ? undefined : "visibility: hidden;"}>
<Tab.Content>
<div class={util.is_native_median_app() ? "alert_placeholder-app" : "alert_placeholder"}>
{util.get_alerts().map((alert) => <Alert className="custom-alert" key={alert.id} variant={alert.variant} onClose={() => util.remove_alert(alert.id)} dismissible><strong>{alert.title}</strong> {alert.text}</Alert>)}
{util.get_alerts().map((alert) => <Alert className="custom-alert" key={alert.id} variant={alert.variant} onClose={() => util.remove_alert(alert.id)} dismissible><strong>{alert.title()}</strong> {alert.text()}</Alert>)}
</div>

<SubPage name="login">
Expand Down

0 comments on commit 49998bf

Please sign in to comment.