Skip to content

Commit

Permalink
improve superadmin panel page
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Aug 2, 2024
1 parent fb0645a commit 8b49090
Show file tree
Hide file tree
Showing 4 changed files with 267 additions and 145 deletions.
3 changes: 0 additions & 3 deletions src/api/backend-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ export default {
getMismatchProjects() {
return API.get('projects/mismatch-projects');
},
getProjectsLanguages() {
return API.get('projects/project-languages');
},
createProject(data: createProject_ED) {
return API.post('projects/', data);
},
Expand Down
3 changes: 3 additions & 0 deletions src/api/backend-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export interface project_extended_t {
freezed: boolean;
config: string;
language: string;
syncGithub: string;
owner: string;
contactOwner: string;
users: string[];
admins: string[];
validators: string[];
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ProjectsHub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export default defineComponent({
this.sortProjects();
this.loadingProjects = false;
this.initLoading = false;
})
})
.catch((error) => {
notifyError({ error });
this.loadingProjects = false;
Expand Down
Loading

0 comments on commit 8b49090

Please sign in to comment.