This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Description
Describe the bug
I tried to create my own Modal component using OfficeLayer. It seems that Vuex $store is not "pushed" to the components inside OfficeLayer slot.
To Reproduce
- Use the OfficeLayer component like this for example:
<template>
<OfficeLayer>
<div class="Modal-content">
<div class="Modal-header">
<template v-if="title">{{title}}</template>
<button @click="$emit('closeModal')" class="Modal-close">Fermer</button>
</div>
<SaveAttachments/>
</div>
</OfficeLayer>
</template>
- Inside the child component of OfficeLayer ("SaveAttachments" in above case), try to access $store.
- $store is undefined
Expected behavior
$store in child component should be accessible.