Skip to content

Commit

Permalink
fix mistake and bump to 0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmenno committed Oct 14, 2024
1 parent 8e6a7be commit 8ae8ff6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PWA/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ReliefBox",
"version": "0.1.10",
"version": "0.1.11",
"description": "A tool for managing the distribution of relief items during humanitarian emergencies.",
"main": "index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ListDistributionRequestHandler extends ActiveSessionContainer {
const distributions = await this.activeSession.database.readDistributions();
console.log(distributions);
if (distributions.length > 0) {
return ResponseTools.wrapInHTPLTemplateAndReplaceKeysWithValues(await fetch(RouteEvents.listDistributions), {
return ResponseTools.wrapInHTPLTemplateAndReplaceKeysWithValues(RouteEvents.listDistributions, {
columns: Distribution.colums,
rows: distributions
});
Expand Down
2 changes: 1 addition & 1 deletion PWA/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- <a class="navbar-item">-->
<img src="images/ReliefBox-horizontal-nobackground.png" width="220" height="30">
<!-- </a>-->
<div class="navbar-item">Alpha 0.1.10</div>
<div class="navbar-item">Alpha 0.1.11</div>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class ListDistributionRequestHandler extends ActiveSessionContainer imple

if(distributions.length > 0) {
return ResponseTools.wrapInHTPLTemplateAndReplaceKeysWithValues(
await fetch(RouteEvents.listDistributions), {
RouteEvents.listDistributions, {
columns: Distribution.colums,
rows: distributions
})
Expand Down

0 comments on commit 8ae8ff6

Please sign in to comment.