Allow for links that don't go to civit.ai in model info

This commit is contained in:
Jared Therriault
2025-04-19 14:27:14 -07:00
parent f8f64c9ff5
commit e4e0cacf5b
@@ -708,8 +708,8 @@ export async function createExtraNetworkCard(nameText, familiars, type, imageDra
));
}
// Go to civit.ai link
if (cardInfo.modelId) {
// Go to model link
if (cardInfo.modelId || userCardInfoOverrides.linkOverride) {
const href = getModelLink();
buttonsRow.appendChild(
createButton(
@@ -721,7 +721,7 @@ export async function createExtraNetworkCard(nameText, familiars, type, imageDra
cursor: "pointer",
}
}),
`View model on civit.ai (${href})`
`View model in browser (${href})`
)
);
}