Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

788 export csv approval requests #49

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/goapp/templates/myapprovals.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<button
class="bg-[#FF5800] hover:bg-[#FF4300] text-white font-bold py-2 px-4 rounded"
x-on:click="exportMyApprovals(profile.username, data.ExportUrls)">
EXPORT PROJECT APPROVALS
Export Project Approvals
</button>
</div>
</div>
Expand Down Expand Up @@ -56,7 +56,7 @@ <h2 class="text-lg p-3 text-red-800 border-b">Rejected Requests</h2>
this.activeTab = this.tabs[tab];
},
exportMyApprovals(username, exportUrls){
window.location.href = exportUrls[0].replace('{username}', username);
window.open(exportUrls[0].replace('{username}', username), '_blank')
}
}
}
Expand Down
Loading