Skip to content

Commit 6c7a43f

Browse files
authored
Merge pull request #129 from devforth/add-empty-field-placeholder
fix: add empty field placeholder to create app template
2 parents 579a54d + d1323ef commit 6c7a43f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adminforth/commands/createApp/templates/index.ts.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const admin = new AdminForth({
1313
rememberMeDays: 30,
1414
loginBackgroundImage: 'https://images.unsplash.com/photo-1534239697798-120952b76f2b?q=80&w=3389&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
1515
loginBackgroundPosition: '1/2',
16-
loginPromptHTML: "Use email <b>adminforth</b> and password <b>adminforth</b> to login",
1716
},
1817
customization: {
1918
brandName: "{{appName}}",
@@ -23,6 +22,7 @@ export const admin = new AdminForth({
2322
datesFormat: 'DD MMM',
2423
timeFormat: 'HH:mm a',
2524
showBrandNameInSidebar: true,
25+
emptyFieldPlaceholder: '-',
2626
styles: {
2727
colors: {
2828
light: {

adminforth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"rollout-doc": "cd documentation && npm run build && npm run deploy",
2121
"docs": "typedoc",
2222
"--comment_postinstall": "postinstall executed after package installed in other project package and when we do npm ci in the package",
23-
"postinstall": "if test -d ./dist/spa/; then cd ./dist/spa/ && npm --version && npm ci && echo 'installed spa dependencies'; fi",
23+
"postinstall": "if test -d ./dist/spa/; then cd ./dist/spa/ && npm ci && echo 'installed spa dependencies'; fi",
2424
"install-plugins": "cd ../plugins && sh install-plugins.sh",
2525
"install-adapters": "cd ../adapters && sh install-adapters.sh"
2626
},

0 commit comments

Comments
 (0)