Skip to content

Commit

Permalink
fix: fill model page on model view (#1132)
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn Yama <syama@uncharted.software>
  • Loading branch information
jamiewaese-uncharted and shawnyama authored May 24, 2023
1 parent f3872ab commit 2d7f355
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions packages/client/hmi-client/src/components/models/tera-model.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:overline="model?.framework"
:is-editable="isEditable"
:is-creating-asset="assetId === ''"
:stretch-content="modelView === ModelView.MODEL"
@close-preview="emit('close-preview')"
>
<template #nav>
Expand All @@ -29,20 +30,23 @@
/>
</span>
</template>
<template #page-search>
<!-- TODO: Add search on page function (highlight matches and scroll to the next one?)-->
<span class="p-input-icon-left">
<i class="pi pi-search" />
<InputText
v-model="globalFilter['global'].value"
placeholder="Find in page"
class="p-inputtext-sm"
/>
</span>
</template>
</tera-asset-nav>
</template>
<template #name-input>
<InputText v-model="newModelName" placeholder="Title of new model" />
</template>
<template #edit-buttons>
<span class="p-input-icon-left">
<i class="pi pi-search" />
<InputText
v-model="globalFilter['global'].value"
class="p-inputtext-sm"
placeholder="Search keyword"
/>
</span>
<Button
v-if="assetId === ''"
@click="createNewModel"
Expand Down

0 comments on commit 2d7f355

Please sign in to comment.