Skip to content

Commit

Permalink
feat: add create app button when table data is populated (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidma415 authored Mar 6, 2024
1 parent 041df46 commit f3f509a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/ViewSpecRegistrationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
:placeholder="helpText.applicationRegistration.searchPlaceholder"
type="search"
/>

<KButton
v-if="state.hasData"
appearance="primary"
:is-rounded="false"
:to="{ name: 'create-application', query: createApplicationQuery }"
>
{{ helpText.applicationRegistration.createApplication }}
</KButton>
</div>
</template>
<template #name="{ row }">
Expand Down Expand Up @@ -488,6 +497,11 @@ export default defineComponent({
}
}
.applications-toolbar {
display: flex;
justify-content: space-between;
}
</style>

<style lang="scss">
Expand Down

0 comments on commit f3f509a

Please sign in to comment.