Skip to content

Commit

Permalink
2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Apr 11, 2024
1 parent 66b6959 commit 4b00462
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "roar-dashboard",
"private": true,
"version": "2.3.2",
"version": "2.3.3",
"scripts": {
"build": "export VITE_FIREBASE_DATA_SOURCE=live && vite build",
"build:sandbox": "export VITE_FIREBASE_DATA_SOURCE=sandbox && vite build",
Expand Down
14 changes: 7 additions & 7 deletions src/pages/HomeAdministrator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
:rows="pageLimit"
:rows-per-page-options="[3, 5, 10, 25]"
data-key="id"
:sortOrder="sortOrder"
:sortField="sortField"
:sort-order="sortOrder"
:sort-field="sortField"
>
<template #header>
<div class="flex gap-3 align-items-center justify-content-start">
Expand All @@ -31,11 +31,11 @@
v-model="searchInput"
placeholder="Search Administrations"
:suggestions="searchSuggestions"
data-cy="search-input"
@complete="autocomplete"
@keyup.enter="onSearch"
data-cy="search-input"
/>
<PvButton icon="pi pi-search" @click="onSearch" class="text-xs" />
<PvButton icon="pi pi-search" class="text-xs" @click="onSearch" />
</PvInputGroup>
</div>
</div>
Expand All @@ -58,7 +58,7 @@
<div>
You searched for <strong>{{ search }}</strong>
</div>
<PvButton text @click="clearSearch" class="text-xs p-2"> Clear Search </PvButton>
<PvButton text class="text-xs p-2" @click="clearSearch"> Clear Search </PvButton>
</div>
</template>
<template #list="slotProps">
Expand All @@ -72,7 +72,7 @@
:dates="item.dates"
:assignees="item.assignedOrgs"
:assessments="item.assessments"
:publicName="item.publicName ?? item.name"
:public-name="item.publicName ?? item.name"
:show-params="isSuperAdmin"
:is-super-admin="isSuperAdmin"
data-cy="h2-card-admin-title"
Expand Down Expand Up @@ -289,7 +289,7 @@ const onSortChange = (event) => {
const value = event.value.value;
const sortValue = event.value;
if (!isSuperAdmin && sortValue[0].field.fieldPath === 'name') {
if (!isSuperAdmin.value && sortValue[0].field.fieldPath === 'name') {
// catches edge case where a partner admin should sort by the public name attribute
sortField.value = 'publicName';
} else {
Expand Down

0 comments on commit 4b00462

Please sign in to comment.