diff --git a/frontend/src/components/shared/RepoClone.vue b/frontend/src/components/shared/RepoClone.vue index 26e891132..aec8369d2 100644 --- a/frontend/src/components/shared/RepoClone.vue +++ b/frontend/src/components/shared/RepoClone.vue @@ -254,7 +254,6 @@ const props = defineProps({ repoType: String, namespacePath: String, - admin: Boolean, repo: Object, enableEndpoint: Boolean, enableFinetune: Boolean, diff --git a/frontend/src/components/shared/RepoDetail.vue b/frontend/src/components/shared/RepoDetail.vue index f4bcb1331..c756ae369 100644 --- a/frontend/src/components/shared/RepoDetail.vue +++ b/frontend/src/components/shared/RepoDetail.vue @@ -33,7 +33,6 @@ :userName="userName" :commitId="commitId" :repoType="repoType" - :admin="admin" :path="`${namespace}/${repoName}`" /> @@ -58,7 +57,6 @@ actionName: String, userName: String, commitId: String, - admin: Boolean, namespace: String, repoName: String }) diff --git a/frontend/src/components/shared/RepoTabs.vue b/frontend/src/components/shared/RepoTabs.vue index fc7c77f60..9606eb942 100644 --- a/frontend/src/components/shared/RepoTabs.vue +++ b/frontend/src/components/shared/RepoTabs.vue @@ -9,7 +9,6 @@ :sshCloneUrl="repoDetail.repository?.ssh_clone_url || ''" :userName="userName" :namespacePath="path" - :admin="admin" :repo="repoDetail" :enableEndpoint="repoDetail.enable_inference" :enableFinetune="repoDetail.enable_finetune" @@ -289,7 +288,6 @@ endpointReplica: Number, endpointName: String, endpointId: String, - admin: Boolean, replicaList: Array, path: String })