feat: Show refresh prompt on network disconnect (#3165)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Dwiferdio Seagal Putra 2021-10-12 13:27:36 +07:00 committed by GitHub
parent 5237e51f2c
commit c1d68cc8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 148 additions and 0 deletions

View file

@ -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() {