Skip to content

Commit

Permalink
inserted loan transaction to the ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jrermi12 committed Mar 1, 2021
1 parent 433651e commit ab823df
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions assets/js/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,17 @@ onload = function (){
console.log('ClearanceDB opened.');
db = request.result;
// Insert loan transaction data into UI
displayTransactions();
personalizeTableHeader();
try {
displayTransactions();
personalizeTableHeader();
} catch (error){
console.log();
}
try {
displayClearanceStatus();
} catch (error){
console.log();
}
}

request.onupgradeneeded = (e) => {
Expand Down

0 comments on commit ab823df

Please sign in to comment.