Skip to content

Commit

Permalink
Set dashboard create widget to client only
Browse files Browse the repository at this point in the history
  • Loading branch information
strapro committed Jan 29, 2023
1 parent 4cb5179 commit 179e8d3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pages/dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
:department-level-name="departmentLevelsIndexed[worker.department_level_id!].name!"
/>
</v-col>
<v-col cols="4">
<DashboardWorkerCreateWidget
:departments="departments!"
:department-levels="departmentLevels!"
@worker-created="refreshWorkers"
/>
</v-col>
<client-only>
<v-col cols="4">
<DashboardWorkerCreateWidget
:departments="departments!"
:department-levels="departmentLevels!"
@worker-created="refreshWorkers"
/>
</v-col>
</client-only>
</v-row>
</div>
</template>
Expand Down

0 comments on commit 179e8d3

Please sign in to comment.