mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-15 03:56:12 +02:00
Use location.origin as default base URL
This commit is contained in:
parent
c5ce51f242
commit
420e35c33c
7 changed files with 16 additions and 19 deletions
web/src/components
|
@ -281,7 +281,7 @@ const UserDialog = (props) => {
|
|||
setUsername(props.user.username);
|
||||
setPassword(props.user.password);
|
||||
}
|
||||
}, []);
|
||||
}, [editMode, props.user]);
|
||||
return (
|
||||
<Dialog open={props.open} onClose={props.onCancel} fullScreen={fullScreen}>
|
||||
<DialogTitle>{editMode ? "Edit user" : "Add user"}</DialogTitle>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue