Merge branch 'frontend' into gruppDM
This commit is contained in:
commit
ead1482e50
4 changed files with 53 additions and 30 deletions
|
|
@ -15,9 +15,10 @@ function LoginPage(props: {
|
|||
and if so, redirect to correct page */
|
||||
function handleSubmit(event: FormEvent<HTMLFormElement>): void {
|
||||
event.preventDefault();
|
||||
props.setAuthority((prevAuth) => {
|
||||
prevAuth = LoginCheck({ username: username, password: password });
|
||||
return prevAuth;
|
||||
LoginCheck({
|
||||
username: username,
|
||||
password: password,
|
||||
setAuthority: props.setAuthority,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ function PMProjectMembers(): JSX.Element {
|
|||
onClick={(): void => {
|
||||
return;
|
||||
}}
|
||||
type={"button"}
|
||||
/>
|
||||
</Link>
|
||||
<Link to="/PM-time-role">
|
||||
|
|
@ -22,6 +23,7 @@ function PMProjectMembers(): JSX.Element {
|
|||
onClick={(): void => {
|
||||
return;
|
||||
}}
|
||||
type={"button"}
|
||||
/>
|
||||
</Link>
|
||||
<BackButton />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue