From d710a64e5e97a81589f6db24c395c6f6090602c6 Mon Sep 17 00:00:00 2001 From: DonaldKLee Date: Fri, 8 Nov 2024 01:48:02 -0800 Subject: [PATCH] included last updated --- utility/firebase.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utility/firebase.js b/utility/firebase.js index f7c5998..958ec5d 100644 --- a/utility/firebase.js +++ b/utility/firebase.js @@ -684,6 +684,7 @@ export const getCSVData = async () => { }, status: { applicationStatus }, skills: { firstTimeHacker }, + submission: { lastUpdated }, } = doc.data() const totalScore = doc.data().score?.totalScore ?? '?' return [ @@ -699,6 +700,7 @@ export const getCSVData = async () => { applicationStatus, major, firstTimeHacker, + lastUpdated.toDate() ] }) CSV.unshift([ @@ -714,6 +716,7 @@ export const getCSVData = async () => { 'Application Status', 'Major', 'First time hacker?', + 'Last Updated', ]) return CSV }