Skip to content

Commit

Permalink
Merge pull request #1965 from bcgov/fix/edx-2973
Browse files Browse the repository at this point in the history
Bug fixes: EDX-2975, 2973
  • Loading branch information
eckermania authored Oct 7, 2024
2 parents 199dbd1 + e579ec8 commit 3012698
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
cols="4"
class="steps"
>
<span>{{ noOfStepsCompleted }} / {{ totalStepsInCollection }} Steps Complete</span>
<span>Current Step: {{ noOfStepsCompleted }} of {{ totalStepsInCollection }}</span>
</v-col>
<v-col
cols="8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
show-arrows
>
<v-tab
v-for="name in visibleTabs"
v-for="name in tabs"
:key="name"
class="tab-divider"
:value="name"
Expand Down Expand Up @@ -91,16 +91,11 @@
:table-i-d="currentTableID"
/>
</v-window-item>
<v-window-item value="Refugee">
<HeadCountReportComponent
:headcount-table-data="headcountTableData"
:table-i-d="currentTableID"
/>
</v-window-item>
</v-window>
</v-row>
</template>
<script>
import alertMixin from '../../../../mixins/alertMixin';
import {defineComponent} from 'vue';
import HeadCountReportComponent from '../../../common/HeadCountReportComponent.vue';
import ApiService from '../../../../common/apiService';
Expand All @@ -111,14 +106,15 @@ import EnrollmentHeadcountsComponent from './EnrollmentHeadcountsComponent.vue';
import IndigenousHeadcountsComponent from './IndigenousHeadcountsComponent.vue';
import {mapState} from 'pinia';
import {sdcCollectionStore} from '../../../../store/modules/sdcCollection';
import {COLLECTIONCODETYPE} from '../../../../utils/constants/CollectionCodeType';
export default defineComponent({
name: 'SummaryComponent',
components: {
IndigenousHeadcountsComponent,
EnrollmentHeadcountsComponent,
HeadCountReportComponent},
HeadCountReportComponent
},
mixins: [alertMixin],
data() {
return {
isLoading: false,
Expand All @@ -132,8 +128,7 @@ export default defineComponent({
'Career Programs',
'Indigenous Students & Support Programs',
'Inclusive Education',
'English Language Learning',
'Refugee'
'English Language Learning'
],
selectedTab: null,
studentsInError: null,
Expand Down Expand Up @@ -173,9 +168,6 @@ export default defineComponent({
return ELL.summaryReport[0].tableID;
}
return null;
},
visibleTabs() {
return this.currentCollectionTypeCode === COLLECTIONCODETYPE.FEBRUARY ? this.tabs : this.tabs.filter((tab) => tab !== 'Refugee') ;
}
},
watch: {
Expand Down

0 comments on commit 3012698

Please sign in to comment.