fix: allow vendor_id=0 to be passed as model_type in experience button jump
This commit is contained in:
parent
4f8cde37d8
commit
07a6e29c1e
|
|
@ -74,7 +74,7 @@ const ModelDetailSideSheet = ({
|
|||
if (modelName) {
|
||||
const params = new URLSearchParams();
|
||||
params.set('model', modelName);
|
||||
if (vendorId != null && vendorId !== 0) {
|
||||
if (vendorId != null) {
|
||||
params.set('model_type', vendorId);
|
||||
}
|
||||
navigate(`/console/playground?${params.toString()}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue