Skip to content

Commit 1d82940

Browse files
committed
fix doc error
closes #1153 (comment)
1 parent 34e361c commit 1d82940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/official-site/sqlpage/migrations/01_documentation.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ This is helpful if you want a more complex logic, for instance to disable a butt
10131013
> If the number of array items in `_sqlpage_actions` is not consistent across all rows, the table may not render correctly.
10141014
> You can leave blank spaces by including an object with only the `name` property.
10151015
1016-
The table has a column of buttons, each button defined by the `_sqlpage_actions` column at the table level, and by the `_sqlpage_actions` property at the row level.
1016+
The table has a column of buttons, each button defined by the `custom_actions` column at the table level, and by the `_sqlpage_actions` property at the row level.
10171017
10181018
### `custom_actions` & `_sqlpage_actions` JSON properties.
10191019
@@ -1571,4 +1571,4 @@ In this scenario, you can use the `html` property, which serves as an alias for
15711571
This property improves code readability by clearly indicating that you are generating HTML.
15721572
Since SQLPage returns HTML by default, there is no need to specify the content type in the HTTP header.
15731573
',
1574-
json('[{"component":"shell-empty", "html": "<!DOCTYPE html>\n<html>\n<head>\n <title>My page</title>\n</head>\n<body>\n <h1>My page</h1>\n</body>\n</html>"}]'));
1574+
json('[{"component":"shell-empty", "html": "<!DOCTYPE html>\n<html>\n<head>\n <title>My page</title>\n</head>\n<body>\n <h1>My page</h1>\n</body>\n</html>"}]'));

0 commit comments

Comments
 (0)