default page menu settings should be true

This commit is contained in:
arpitnath 2023-10-06 15:10:34 +05:30
parent 175ea1b4a5
commit 447686eabf
3 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ const LeftSidebarPageSelector = ({
<GlobalSettings
darkMode={darkMode}
showHideViewerNavigationControls={showHideViewerNavigationControls}
showPageViwerPageNavitation={appDefinition?.showViewerNavigation || false}
showPageViwerPageNavitation={!appDefinition?.showViewerNavigation || false}
/>
}
>

View file

@ -17,7 +17,7 @@ export class UpdateAppVersionEntity1691006886222 implements MigrationInterface {
new TableColumn({
name: 'show_viewer_navigation',
type: 'boolean',
default: false,
default: true,
isNullable: false,
})
);

View file

@ -136,7 +136,7 @@ export class AppsService {
);
// Set default values for app version
appVersion.showViewerNavigation = false;
appVersion.showViewerNavigation = true;
appVersion.homePageId = defaultHomePage.id;
appVersion.globalSettings = {
hideHeader: false,