mirror of
https://github.com/hay-kot/homebox.git
synced 2025-05-22 21:32:28 +00:00
fix: ui/ux issues (#34)
* fix select first bug for creation * add link to header * fix date and display errors * drop group name requirement
This commit is contained in:
parent
79f7ad40cb
commit
a6e3989aee
13 changed files with 33 additions and 46 deletions
|
@ -8,7 +8,6 @@ function userFactory(): UserRegistration {
|
|||
email: faker.internet.email(),
|
||||
password: faker.internet.password(),
|
||||
name: faker.name.firstName(),
|
||||
groupName: faker.animal.cat(),
|
||||
token: "",
|
||||
};
|
||||
}
|
||||
|
|
|
@ -30,10 +30,10 @@ export async function sharedUserClient(): Promise<UserClient> {
|
|||
return userClient(cache.token);
|
||||
}
|
||||
const testUser = {
|
||||
groupName: "test-group",
|
||||
email: "__test__@__test__.com",
|
||||
name: "__test__",
|
||||
password: "__test__",
|
||||
token: "",
|
||||
};
|
||||
|
||||
const api = client();
|
||||
|
|
|
@ -219,7 +219,6 @@ export interface ServerValidationError {
|
|||
|
||||
export interface UserRegistration {
|
||||
email: string;
|
||||
groupName: string;
|
||||
name: string;
|
||||
password: string;
|
||||
token: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue