Skip to content

Commit

Permalink
fix: prevent requesting model metadata query if model store isn't sup…
Browse files Browse the repository at this point in the history
…ported
  • Loading branch information
yomybaby committed Dec 5, 2023
1 parent 30ec467 commit 3733704
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/components/backend-ai-data-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,17 @@ export default class BackendAIData extends BackendAIPage {
</div>
`
: html``}
<backend-ai-react-model-store-list
id="model-store-folder-lists"
class="tab-content"
style="display:none;"
?active="${this.active === true &&
this._activeTab === 'modelStore'}"
></backend-ai-react-model-store-list>
${this.supportModelStore
? html`
<backend-ai-react-model-store-list
id="model-store-folder-lists"
class="tab-content"
style="display:none;"
?active="${this.active === true &&
this._activeTab === 'modelStore'}"
></backend-ai-react-model-store-list>
`
: html``}
</div>
</lablup-activity-panel>
</div>
Expand Down

0 comments on commit 3733704

Please sign in to comment.