Removed username prop from basicwindow in all pages

This commit is contained in:
Peter KW 2024-03-18 17:27:32 +01:00
parent 388a430613
commit d692165f99
25 changed files with 27 additions and 26 deletions

View file

@ -11,6 +11,6 @@ function AdminAddProject(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminAddProject;

View file

@ -15,6 +15,6 @@ function AdminAddUser(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminAddUser;

View file

@ -23,6 +23,6 @@ function AdminChangeUsername(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminChangeUsername;

View file

@ -21,6 +21,6 @@ function AdminManageProjects(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminManageProjects;

View file

@ -36,6 +36,6 @@ function AdminManageUsers(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminManageUsers;

View file

@ -22,6 +22,6 @@ function AdminMenuPage(): JSX.Element {
const buttons = <></>;
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminMenuPage;

View file

@ -23,6 +23,6 @@ function AdminProjectAddMember(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectAddMember;

View file

@ -23,6 +23,6 @@ function AdminProjectChangeUserRole(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectChangeUserRole;

View file

@ -23,6 +23,6 @@ function AdminProjectManageMembers(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectManageMembers;

View file

@ -23,6 +23,6 @@ function AdminProjectPage(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectPage;

View file

@ -16,6 +16,6 @@ function AdminProjectStatistics(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectStatistics;

View file

@ -23,6 +23,6 @@ function AdminProjectViewMemberInfo(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminProjectViewMemberInfo;

View file

@ -23,6 +23,6 @@ function AdminViewUserInfo(): JSX.Element {
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
return <BasicWindow content={content} buttons={buttons} />;
}
export default AdminViewUserInfo;