fix: modified graphql files in dashboard users and teams module to match resolver changes (#50)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Joel Jacob Stephen
2023-03-22 18:19:37 +05:30
committed by GitHub
parent 3df0492275
commit 5164315243
16 changed files with 122 additions and 84 deletions

View File

@@ -66,7 +66,7 @@ const addTeam = async () => {
if (data) {
name.value = '';
goToTeamDetailsPage(data.createATeamByAdmin.id);
goToTeamDetailsPage(data.createTeamByAdmin.id);
}
if (error) {

View File

@@ -74,7 +74,7 @@
</td>
<td
class="sm:p-3 py-2 px-1 md:table-cell hidden text-sky-300"
class="sm:p-3 py-2 px-1 md:table-cell text-sky-300"
@click="goToTeam(team.id)"
>
<span class="hover:underline cursor-pointer">
@@ -175,7 +175,8 @@ const {
TeamListDocument,
(x) => x.admin.allTeams,
(x) => x.id,
{ cursor: undefined }
10,
{ cursor: undefined, take: 10 }
);
const goToTeam = (teamId: string) => {