Fix commit status color on dashboard repolist (#25993) (#25998)

Backport #25993 by @silverwind

Followup to https://github.com/go-gitea/gitea/pull/25935 which has
missed to change the icon on the repolist because the logic is not
shared with templates.

Co-authored-by: silverwind <me@silverwind.io>
pull/26013/head
Giteabot 1 year ago committed by GitHub
parent 28e8c691a6
commit 1ba0baa030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/js/components/DashboardRepoList.vue

@ -153,7 +153,7 @@ import {SvgIcon} from '../svg.js';
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
const commitStatus = {
pending: {name: 'octicon-dot-fill', color: 'grey'},
pending: {name: 'octicon-dot-fill', color: 'yellow'},
running: {name: 'octicon-dot-fill', color: 'yellow'},
success: {name: 'octicon-check', color: 'green'},
error: {name: 'gitea-exclamation', color: 'red'},

Loading…
Cancel
Save