diff options
author | yp05327 <576951401@qq.com> | 2023-05-12 17:00:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 10:00:17 +0200 |
commit | 4aec1f87a4affe606e96e27c2e8660092aac3afb (patch) | |
tree | 746aea0fe30f3387449edaebb5d2db282c3a1049 /web_src/js | |
parent | bc719f549ee67a141302fca545c44262b9fed332 (diff) | |
download | gitea-4aec1f87a4affe606e96e27c2e8660092aac3afb.tar.gz gitea-4aec1f87a4affe606e96e27c2e8660092aac3afb.zip |
Remove highlight in repo list (#24675)
Before:
![image](https://github.com/go-gitea/gitea/assets/18380374/aa5e9f1f-48ff-4e9f-a693-23a34e390760)
After:
![image](https://github.com/go-gitea/gitea/assets/18380374/a4b58a6c-4ea3-4ded-80df-2e650d39a1d3)
private or internal repos have `lock` icon, no need to add highlights to
them.
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/components/DashboardRepoList.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index 5cedbcb000..161fca9414 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -70,7 +70,7 @@ </div> <div v-if="repos.length" class="ui attached table segment gt-rounded-bottom"> <ul class="repo-owner-name-list"> - <li v-for="repo in repos" :class="{'private': repo.private || repo.internal}" :key="repo.id"> + <li v-for="repo in repos" :key="repo.id"> <a class="repo-list-link gt-df gt-ac gt-sb" :href="repo.link"> <div class="item-name gt-df gt-ac gt-f1"> <svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/> |