Added autofill from database into text boxes, but now data is taken from wrong...
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
34+ 153
− 164
@@ -10,23 +10,32 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
@@ -37,7 +46,7 @@ const taskCollection = collection(db, "task");
@@ -71,13 +80,9 @@ function createUser(hsaId, unitId, firstName, lastName, email, manager, uid) {
@@ -89,11 +94,9 @@ a1, a2, a3, a4) {
@@ -101,7 +104,7 @@ a1, a2, a3, a4) {
@@ -124,7 +127,15 @@ a1, a2, a3, a4) {
@@ -132,37 +143,6 @@ a1, a2, a3, a4) {
@@ -183,7 +163,7 @@ function addMemberToTask(userHsaId, taskId, isResponsibleFor) {
@@ -198,66 +178,26 @@ function addMemberToImprovementWork(userHsaId, improvementWorkId, isOwner, isRes
@@ -305,19 +245,22 @@ function addDocumentToImprovementWork(documentUrl, name, improvementWorkId) {
@@ -325,25 +268,23 @@ name) {
@@ -351,34 +292,35 @@ hospitalId, name) {
@@ -505,7 +447,7 @@ function getObjectById(collectionPath, documentId) {
@@ -688,6 +630,50 @@ function getImprovementWorks({ id, nolanStage, unitId, completed, ongoing, patie
@@ -752,7 +738,7 @@ uid, }) {
@@ -767,6 +753,9 @@ improvementWorkId, ascendingDates = false, // Descending dates by default
@@ -834,7 +823,7 @@ function getImprovementWorksForUser(userHsaId) {
@@ -856,7 +845,7 @@ function getUsersForImprovementWork(improvementWorkId) {
@@ -874,7 +863,7 @@ function getUsersForImprovementWork(improvementWorkId) {