Skip to content

Commit

Permalink
Only show a preview of the Headline in Organizations list (#1610)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobayer12 authored and joanagmaia committed Oct 26, 2023
1 parent c05cc10 commit 7eaf499
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
v-if="scope.row.headline || scope.row.description"
class="text-sm h-full flex items-center text-gray-900"
>
{{ scope.row.headline || scope.row.description }}
{{ truncateText((scope.row.headline || scope.row.description), 150, '...') }}
</span>
<span
v-else
Expand Down Expand Up @@ -730,7 +730,7 @@ import {
import { useRouter } from 'vue-router';
import { formatDateToTimeAgo } from '@/utils/date';
import { formatNumberToCompact } from '@/utils/number';
import { withHttp, toSentenceCase } from '@/utils/string';
import { withHttp, toSentenceCase, truncateText } from '@/utils/string';
import { useOrganizationStore } from '@/modules/organization/store/pinia';
import { storeToRefs } from 'pinia';
import AppOrganizationMergeDialog from '@/modules/organization/components/organization-merge-dialog.vue';
Expand Down

0 comments on commit 7eaf499

Please sign in to comment.