forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: Fix data for gives that fulfill offers that are attached to projects (not to include person info). Also: commentary.
This commit is contained in:
@@ -10,6 +10,8 @@ export type BoundingBox = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Settings type encompasses user-specific configuration details.
|
* Settings type encompasses user-specific configuration details.
|
||||||
|
*
|
||||||
|
* New entries that are boolean should also be added to PlatformServiceMixin._mapColumnsToValues
|
||||||
*/
|
*/
|
||||||
export type Settings = {
|
export type Settings = {
|
||||||
// default entry is keyed with MASTER_SETTINGS_KEY; other entries are linked to an account with account ID
|
// default entry is keyed with MASTER_SETTINGS_KEY; other entries are linked to an account with account ID
|
||||||
|
|||||||
@@ -182,14 +182,6 @@ class AbsurdSqlDatabaseService implements DatabaseService {
|
|||||||
}
|
}
|
||||||
operation.resolve(result);
|
operation.resolve(result);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// logger.error( // DISABLED
|
|
||||||
// "Error while processing SQL queue:",
|
|
||||||
// error,
|
|
||||||
// " ... for sql:",
|
|
||||||
// operation.sql,
|
|
||||||
// " ... with params:",
|
|
||||||
// operation.params,
|
|
||||||
// );
|
|
||||||
logger.error(
|
logger.error(
|
||||||
"Error while processing SQL queue:",
|
"Error while processing SQL queue:",
|
||||||
error,
|
error,
|
||||||
@@ -242,9 +234,6 @@ class AbsurdSqlDatabaseService implements DatabaseService {
|
|||||||
|
|
||||||
// If initialized but no db, something went wrong
|
// If initialized but no db, something went wrong
|
||||||
if (!this.db) {
|
if (!this.db) {
|
||||||
// logger.error( // DISABLED
|
|
||||||
// `Database not properly initialized after await waitForInitialization() - initialized flag is true but db is null`,
|
|
||||||
// );
|
|
||||||
logger.error(
|
logger.error(
|
||||||
`Database not properly initialized after await waitForInitialization() - initialized flag is true but db is null`,
|
`Database not properly initialized after await waitForInitialization() - initialized flag is true but db is null`,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1055,13 +1055,8 @@ export default class ClaimView extends Vue {
|
|||||||
if (this.projectInfo) {
|
if (this.projectInfo) {
|
||||||
// Recipient is a project
|
// Recipient is a project
|
||||||
recipient = {
|
recipient = {
|
||||||
did:
|
|
||||||
this.detailsForGive?.fulfillsPlanHandleId ||
|
|
||||||
this.detailsForOffer?.fulfillsPlanHandleId,
|
|
||||||
name: this.projectInfo.name,
|
name: this.projectInfo.name,
|
||||||
handleId:
|
handleId: this.detailsForOffer?.fulfillsPlanHandleId,
|
||||||
this.detailsForGive?.fulfillsPlanHandleId ||
|
|
||||||
this.detailsForOffer?.fulfillsPlanHandleId,
|
|
||||||
image: this.projectInfo.imageUrl,
|
image: this.projectInfo.imageUrl,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user