Edit Navbar Connection, Fix Tracker Grammar, Auto Redirect on Dispatch Main Page, Adjust Toast Position
This commit is contained in:
@@ -41,14 +41,14 @@ export const ConnectionBtn = () => {
|
||||
|
||||
{connection.status == "connected" ? (
|
||||
<button
|
||||
className="btn btn-soft btn-error"
|
||||
className="btn btn-sm btn-soft btn-success"
|
||||
type="submit"
|
||||
onSubmit={() => false}
|
||||
onClick={() => {
|
||||
connection.disconnect();
|
||||
modalRef.current?.showModal();
|
||||
}}
|
||||
>
|
||||
Trennen
|
||||
Verbunden
|
||||
</button>
|
||||
) : (
|
||||
<button
|
||||
@@ -115,7 +115,7 @@ export const ConnectionBtn = () => {
|
||||
</fieldset>
|
||||
<div className="modal-action flex justify-between w-full">
|
||||
<form method="dialog" className="w-full flex justify-between">
|
||||
<button className="btn btn-soft">Abbrechen</button>
|
||||
<button className="btn btn-soft">Zurück</button>
|
||||
{connection.status == "connected" ? (
|
||||
<button
|
||||
className="btn btn-soft btn-error"
|
||||
@@ -125,7 +125,7 @@ export const ConnectionBtn = () => {
|
||||
connection.disconnect();
|
||||
}}
|
||||
>
|
||||
Trennen
|
||||
Verbindung Trennen
|
||||
</button>
|
||||
) : (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user