View student plans button no longer hidden if student list is empty.

This commit is contained in:
PMKuipers 2023-09-03 20:07:42 +02:00
parent ef29eb6209
commit efd2eaa451

View File

@ -122,7 +122,7 @@ print $OUTPUT->header();
:value='studyplan.id' :value='studyplan.id'
>{{ studyplan.name }}</b-form-select-option> >{{ studyplan.name }}</b-form-select-option>
</b-form-select>&nbsp; </b-form-select>&nbsp;
<b-button variant='primary' v-if='associatedstudents && associatedstudents.length > 0' v-b-toggle.toolbox-sidebar <b-button variant='primary' v-b-toggle.toolbox-sidebar
><?php t('selectstudent_btn') ?></b-button> ><?php t('selectstudent_btn') ?></b-button>
</div> </div>
<div class='t-studyplan-container'> <div class='t-studyplan-container'>