mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fixes: viewer route
This commit is contained in:
parent
770930383d
commit
d9ce23aaf6
2 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ class AppComponent extends React.Component {
|
|||
/>
|
||||
<Route
|
||||
exact
|
||||
path="/applications/:slug/:pageHandle?"
|
||||
path="/applications/:slug/:pageHandle?/*"
|
||||
element={
|
||||
<PrivateRoute>
|
||||
<Viewer switchDarkMode={this.switchDarkMode} darkMode={darkMode} />
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ class ViewerComponent extends React.Component {
|
|||
} = this.state;
|
||||
|
||||
const currentCanvasWidth = canvasWidth;
|
||||
const queryConfirmationList = this.props.queryConfirmationList;
|
||||
const queryConfirmationList = this.props?.queryConfirmationList ?? [];
|
||||
|
||||
const canvasMaxWidth = this.computeCanvasMaxWidth();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue