diff --git a/frontend/app/components/Session_/Multiview/Multiview.tsx b/frontend/app/components/Session_/Multiview/Multiview.tsx
index 455a5c254..420df0602 100644
--- a/frontend/app/components/Session_/Multiview/Multiview.tsx
+++ b/frontend/app/components/Session_/Multiview/Multiview.tsx
@@ -59,6 +59,7 @@ function Multiview({
};
const returnToList = () => {
+ assistMultiviewStore.reset()
history.push(withSiteId(assist(), siteId));
};
@@ -85,7 +86,7 @@ function Multiview({
(isMultiview ? openGrid() : backHandler())}
+ onClick={() => (assistMultiviewStore.sessions.length > 1 || isMultiview ? openGrid() : backHandler())}
>
- {isMultiview ? (
+ {assistMultiviewStore.sessions.length > 1 || isMultiview ? (
<>
diff --git a/frontend/app/mstore/assistMultiviewStore.ts b/frontend/app/mstore/assistMultiviewStore.ts
index 2854d2b5e..e0895918f 100644
--- a/frontend/app/mstore/assistMultiviewStore.ts
+++ b/frontend/app/mstore/assistMultiviewStore.ts
@@ -115,5 +115,6 @@ export default class AssistMultiviewStore {
reset() {
this.sessions = [];
this.activeSession = null;
+ this.onChangeCb = undefined
}
}
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index c6cb61fa5..8eaeab4e8 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -1,5 +1,7 @@
const colors = require('./app/theme/colors');
+const defaultColors = require('tailwindcss/colors')
+console.log(defaultColors);
module.exports = {
// important: true,
content: [
@@ -106,7 +108,10 @@ module.exports = {
// 'zIndex'
// ],
theme: {
- colors,
+ colors: {
+ ...defaultColors,
+ ...colors,
+ },
// borderColor: {
// default: '#DDDDDD',
// "gray-light-shade": colors["gray-light-shade"],