diff --git a/web/src/views/org/OrgRepos.vue b/web/src/views/org/OrgRepos.vue index 2bf7c633b..0a27976fd 100644 --- a/web/src/views/org/OrgRepos.vue +++ b/web/src/views/org/OrgRepos.vue @@ -14,9 +14,9 @@
- +
-
+
{{ $t('repo.user_none') }}
@@ -34,7 +34,7 @@ import { useRepoSearch } from '~/compositions/useRepoSearch'; import { useRepoStore } from '~/store/repos'; const repoStore = useRepoStore(); -const { repoWithLastPipeline } = useRepos(); +const { repoWithLastPipeline, sortReposByLastActivity } = useRepos(); const org = inject('org'); const orgPermissions = inject('org-permissions'); @@ -46,6 +46,7 @@ const repos = computed(() => .map(repoWithLastPipeline), ); const { searchedRepos } = useRepoSearch(repos, search); +const reposLastActivity = computed(() => sortReposByLastActivity(searchedRepos.value || [])); onMounted(async () => { await repoStore.loadRepos(); // TODO: load only org repos