From 472671fee17b5ff01c993d9c21b817f59bdeae2d Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 16 May 2023 09:35:33 +0300 Subject: [PATCH] fixed comment typo and updated default fallback displayable props --- pocketbase.go | 2 +- ui/src/utils/CommonHelper.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pocketbase.go b/pocketbase.go index 01f4ae5e..e34fca79 100644 --- a/pocketbase.go +++ b/pocketbase.go @@ -210,7 +210,7 @@ func (pb *PocketBase) eagerParseFlags(config *Config) error { return pb.RootCmd.ParseFlags(os.Args[1:]) } -// skipBootstrap eagerly checks if the app should skip the bootstap process: +// skipBootstrap eagerly checks if the app should skip the bootstrap process: // - already bootstrapped // - is unknown command // - is the default help command diff --git a/ui/src/utils/CommonHelper.js b/ui/src/utils/CommonHelper.js index bd045f1d..64041796 100644 --- a/ui/src/utils/CommonHelper.js +++ b/ui/src/utils/CommonHelper.js @@ -1436,10 +1436,12 @@ export default class CommonHelper { const fallbackProps = [ "title", "name", + "slug", "email", "username", - "heading", "label", + "heading", + "message", "key", "id", ];