Skip to content

Commit

Permalink
update ui5 version for table control, adjust init js for test data
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSchlachter committed Feb 29, 2024
1 parent be8053d commit 3b6fb49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/incidents/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</style>
<script
id="sap-ui-bootstrap"
src="https://ui5.sap.com/1.120.7/resources/sap-ui-core.js"
src="https://ui5.sap.com/1.121.0/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-resourceroots='{
"ns.incidents": "./"
Expand Down
6 changes: 3 additions & 3 deletions xmpls/attachments/db/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ module.exports = async function () {

const { 'sap.common.Images': Images } = cds.model.entities
await attachments.put (Images, [
[ '8fc8231b-f6d7-43d1-a7e1-725c8e988d18', 'Daniel Watts.png' ],
[ 'feb04eac-f84f-4232-bd4f-80a178f24a17', 'Stormy Weathers.png' ],
[ '2b87f6ca-28a2-41d6-8c69-ccf16aa6389d', 'Sunny Sunshine.png' ],
[ '1004155', 'Daniel Watts.png' ],
[ '1004161', 'Stormy Weathers.png' ],
[ '1004100', 'Sunny Sunshine.png' ],
].map(([ ID, filename ]) => ({
ID, filename,
content: createReadStream (join(__dirname, 'content', filename)),
Expand Down

0 comments on commit 3b6fb49

Please sign in to comment.