Skip to content

Commit

Permalink
Fixed: issue in taxonomy table
Browse files Browse the repository at this point in the history
  • Loading branch information
we-vikram-wri231 committed Jun 22, 2024
1 parent 629adc1 commit b755c04
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ const openTaxonomyTypeModal = () => {


<Column field="slug" header="Slug"
:sortable="false"
class="flex align-items-center"
>
:sortable="false">
<template #body="prop">
{{ prop.data.slug }}

Expand All @@ -81,13 +79,11 @@ const openTaxonomyTypeModal = () => {
/>
</template>
</Column>
<column></column>

<Column field="type" header="Type"
:sortable="false"
class="flex align-items-center"
>
:sortable="false">
<template #body="prop">
<p v-if="prop.data.type"> {{ prop.data.type.name }} </p>
{{ prop.data.type.name }}

<Button class="p-button-tiny p-button-text"
data-testid="<%= controller_name_lower %>-table-to-manage-taxonomy-type-modal"
Expand All @@ -104,7 +100,7 @@ const openTaxonomyTypeModal = () => {
:sortable="true"
>
<template #body="prop">
{{ useVaah.ago(prop.data.updated_at) }}
{{ useVaah.toLocalTimeShortFormat(prop.data.updated_at) }}
</template>
</Column>

Expand Down

0 comments on commit b755c04

Please sign in to comment.