diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-14 17:51:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 17:51:20 +0800 |
commit | ac8d71ff07a3354a27d6a5daab45d1e79e242269 (patch) | |
tree | bcf34685ce59b0ad89903ac769c4080dc1073349 /web_src/js/components/DashboardRepoList.vue | |
parent | d56bb7420184c0c2f451f4bcaa96c9b3b00c393d (diff) | |
download | gitea-ac8d71ff07a3354a27d6a5daab45d1e79e242269.tar.gz gitea-ac8d71ff07a3354a27d6a5daab45d1e79e242269.zip |
Refactor branch/tag selector to Vue SFC (#23421)
Follow #23394
There were many bad smells in old code. This PR only moves the code into
Vue SFC, doesn't touch the unrelated logic.
update: after
https://github.com/go-gitea/gitea/pull/23421/commits/5f23218c851e12132f538a404c946bbf6ff38e62
, there should be no usage of the vue-rumtime-compiler anymore
(hopefully), so I think this PR could close #19851
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src/js/components/DashboardRepoList.vue')
-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 e295910fd0..cc76ab627f 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -73,7 +73,7 @@ <li v-for="repo in repos" :class="{'private': repo.private || repo.internal}" :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 gt-mr-2"> - <svg-icon :name="repoIcon(repo)" size="16" class-name="gt-mr-2"/> + <svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/> <div class="text gt-bold truncate gt-ml-1">{{ repo.full_name }}</div> <span v-if="repo.archived"> <svg-icon name="octicon-archive" :size="16" class-name="gt-ml-2"/> |