Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astrbot/dashboard/services/plugin_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def serialize_plugin_base(
"version": plugin.version,
"reserved": plugin.reserved,
"activated": plugin.activated,
"online_vesion": "",
"online_version": "",
"display_name": plugin.display_name,
"logo": logo_url,
"support_platforms": plugin.support_platforms,
Expand Down
9 changes: 7 additions & 2 deletions dashboard/src/views/extension/useExtensionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,10 @@ export const useExtensionPage = (initialTab = "installed") => {
const findMarketPluginForExtension = (extension) => {
if (!extension) return null;
const source = extension.install_source || {};
if (source.implicit === true || source.install_method !== "market") {
// Implicit records (legacy plugins installed before source persistence)
// still carry the plugin repo, so resolve them against the default market
// instead of treating them as unmatchable.
if (source.install_method !== "market") {
return null;
}
if (extension.update_market_plugin) {
Expand Down Expand Up @@ -765,10 +768,12 @@ export const useExtensionPage = (initialTab = "installed") => {
extension.update_market_plugin = null;

const source = extension.install_source;
// Implicit records (legacy plugins with no persisted install source)
// resolve to the default registry, so keep them in the update check
// instead of skipping them entirely.
if (
!extension.updates_enabled ||
!source ||
source.implicit === true ||
source.install_method !== "market"
) {
return;
Expand Down
Loading