forked from jsnbuchanan/crowd-funder-for-time-pwa
feat(meeting): enable selecting all projects in meeting setup
Update loadProjects to fetch all projects instead of only user's projects by switching from plansByIssuer to plans endpoint.
This commit is contained in:
@@ -789,7 +789,7 @@ export default class OnboardMeetingView extends Vue {
|
|||||||
async loadProjects() {
|
async loadProjects() {
|
||||||
try {
|
try {
|
||||||
const headers = await getHeaders(this.activeDid);
|
const headers = await getHeaders(this.activeDid);
|
||||||
const url = `${this.apiServer}/api/v2/report/plansByIssuer`;
|
const url = `${this.apiServer}/api/v2/report/plans`;
|
||||||
const resp = await this.axios.get(url, { headers });
|
const resp = await this.axios.get(url, { headers });
|
||||||
|
|
||||||
if (resp.status === 200 && resp.data.data) {
|
if (resp.status === 200 && resp.data.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user