Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -105,15 +105,15 @@ impl EnableAutoReloadModalBody {
|
||||
ctx.emit(EnableAutoReloadModalBodyEvent::Close);
|
||||
}
|
||||
}
|
||||
UserWorkspacesEvent::UpdateWorkspaceSettingsRejected(_err) => {
|
||||
if me.update_workspace_settings_loading {
|
||||
me.update_workspace_settings_loading = false;
|
||||
ctx.emit(EnableAutoReloadModalBodyEvent::ShowToast {
|
||||
message: "Failed to enable auto-reload. Please try updating your settings in Billing & usage.".to_string(),
|
||||
flavor: ToastFlavor::Error,
|
||||
});
|
||||
ctx.notify();
|
||||
}
|
||||
UserWorkspacesEvent::UpdateWorkspaceSettingsRejected(_err)
|
||||
if me.update_workspace_settings_loading =>
|
||||
{
|
||||
me.update_workspace_settings_loading = false;
|
||||
ctx.emit(EnableAutoReloadModalBodyEvent::ShowToast {
|
||||
message: "Failed to enable auto-reload. Please try updating your settings in Billing & usage.".to_string(),
|
||||
flavor: ToastFlavor::Error,
|
||||
});
|
||||
ctx.notify();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user