Skip to content

Commit

Permalink
Fixed formatting & display issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomansion committed Jun 27, 2024
1 parent e790290 commit d13db0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions backend/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ paths:
404:
description: model or project doesn't exist

/data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/resultsDict:
post:
/data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/resultsDict:
post:
summary: Add a results to a model
tags: [Model]
operationId: controller.pythonModuleDp.add_results_dict
Expand Down Expand Up @@ -524,7 +524,7 @@ paths:
404:
description: model or project doesn't exist

/data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/getModelResults:
/data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/getModelResults:
post:
summary: Get the model results from a sample list
tags: [Model]
Expand Down Expand Up @@ -707,7 +707,7 @@ paths:
type: object

/data-providers/{dataProviderId}/projects/{projectId}/selections/{selectionId}:
get:
get:
summary: Get a project selection id list
tags: [Selection]
operationId: controller.selection.get_selection_id_list
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/debiai/project/Models.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</div>
<div class="allButtons">
<!-- Model Metadata -->
<DocumentationBlock v-if="model.metadata && Object.keys(model.metadata)">
<DocumentationBlock v-if="model.metadata && Object.keys(model.metadata).length > 0">
<h4>Model Metadata</h4>
<br />
<div style="white-space: pre-wrap">
Expand Down

0 comments on commit d13db0e

Please sign in to comment.