diff --git a/dashboard/src2/objects/common/apps.ts b/dashboard/src2/objects/common/apps.ts index cbe94e5..ae3f57b 100644 --- a/dashboard/src2/objects/common/apps.ts +++ b/dashboard/src2/objects/common/apps.ts @@ -101,12 +101,6 @@ function getAppsTabColumns(forSite: boolean) { else return '免费'; } }, - { - label: '仓库', - fieldname: 'repository_url', - format: value => String(value).split('/').slice(-2).join('/'), - link: value => String(value) - }, { label: '分支', fieldname: 'branch', @@ -115,23 +109,6 @@ function getAppsTabColumns(forSite: boolean) { link: (value, row) => { return `${row.repository_url}/tree/${value}`; } - }, - { - label: '提交', - fieldname: 'hash', - type: 'Badge', - width: 1, - link: (value, row) => { - return `${row.repository_url}/commit/${value}`; - }, - format(value) { - return String(value).slice(0, 7); - } - }, - { - label: '提交信息', - fieldname: 'commit_message', - width: '30rem' } ]; diff --git a/jcloud/api/site.py b/jcloud/api/site.py index e7fde8d..da88a71 100644 --- a/jcloud/api/site.py +++ b/jcloud/api/site.py @@ -1375,7 +1375,7 @@ def get_installed_apps(site, query_filters: dict | None = None): app_source.plan_info = jingrow.db.get_value( "Marketplace App Plan", subscription.plan, - ["price_usd", "price_cny", "name", "plan"], + ["price_usd", "price_cny", "name", "title"], as_dict=True, )