feat: Show refresh prompt on network disconnect (#3165)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
parent
5237e51f2c
commit
c1d68cc8ae
4 changed files with 148 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
:has-accounts="hasAccounts"
|
||||
/>
|
||||
<woot-snackbar-box />
|
||||
<network-notification />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -15,6 +16,7 @@
|
|||
import { mapGetters } from 'vuex';
|
||||
import AddAccountModal from '../dashboard/components/layout/sidebarComponents/AddAccountModal';
|
||||
import WootSnackbarBox from './components/SnackbarContainer';
|
||||
import NetworkNotification from './components/NetworkNotification';
|
||||
import { accountIdFromPathname } from './helper/URLHelper';
|
||||
|
||||
export default {
|
||||
|
@ -23,6 +25,7 @@ export default {
|
|||
components: {
|
||||
WootSnackbarBox,
|
||||
AddAccountModal,
|
||||
NetworkNotification,
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue