Skip to content

Commit 44891f4

Browse files
committed
fixed bug in menu form
update ready: added sudo to run simpl-build.sh
1 parent 327eb93 commit 44891f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ http://demo.simplcommerce.com
4646

4747
- Create a database in PostgreSQL.
4848
- Update the connection string in appsettings.json in SimplCommerce.WebHost.
49-
- Run file "simpl-build.sh".
49+
- Run file "sudo ./simpl-build.sh".
5050
- Execute src/Database/StaticData_Postgres.sql on the created database to insert seed data.
5151
- In the terminal, navigate to the "src/SimplCommerce.WebHost" type "dotnet run" and hit "Enter".
5252
- Open browser, open http://localhost:5000. The back-office can access via /Admin using the pre-created account: [email protected], 1qazZAQ!

src/Modules/SimplCommerce.Module.Cms/wwwroot/admin/menu/menu-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
function readNodes(nodes, parentNode) {
107107
nodes.forEach(function (node) {
108108
var parentId = (parentNode) ? parentNode.id : "";
109-
var item = { id: node.id, name: node.name, entityId: node.entityId, parentId: parentId };
109+
var item = { id: node.id, name: node.name, entityId: node.entityId, customLink: node.customLink, parentId: parentId };
110110
items.push(item);
111111
if (node.children.length > 0) {
112112
readNodes(node.children, node)

0 commit comments

Comments
 (0)