MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / return

Function return

web/src/components/table/LogsTable.js:639–652  ·  view source on GitHub ↗
(other.admin_info !== undefined)

Source from the content-addressed store, hash-verified

637 let other = JSON.parse(record.other);
638 if (other === null) {
639 return <></>;
640 }
641 if (other.admin_info !== undefined) {
642 if (
643 other.admin_info.use_channel !== null &&
644 other.admin_info.use_channel !== undefined &&
645 other.admin_info.use_channel !== ''
646 ) {
647 // channel id array
648 let useChannel = other.admin_info.use_channel;
649 let useChannelStr = useChannel.join('->');
650 content = t('渠道') + `:${useChannelStr}`;
651 }
652 }
653 }
654 return isAdminUser ? <div>{content}</div> : <></>;
655 },

Callers 1

ModelPricing.jsFile · 0.70

Calls 1

tFunction · 0.70

Tested by

no test coverage detected