only show the "raw edit" when advanced options are turned on
This commit is contained in:
@@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [0.3.?]
|
## [0.3.?]
|
||||||
### Fixed
|
### Fixed
|
||||||
- Allow visibility of bulk-imported contacts
|
- Error loading BVC claims to confirm
|
||||||
|
- Really allow visibility of bulk-imported contacts
|
||||||
|
|
||||||
|
|
||||||
## [0.3.26] - 2024.09.16 - 8263ed2b29947b3ccc6f3133bbc9454c222bce28
|
## [0.3.26] - 2024.09.16 - 8263ed2b29947b3ccc6f3133bbc9454c222bce28
|
||||||
|
|||||||
@@ -134,7 +134,7 @@
|
|||||||
<label class="text-sm mt-1">This was a trade (not a gift)</label>
|
<label class="text-sm mt-1">This was a trade (not a gift)</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-4 flex">
|
<div v-if="showGeneralAdvanced" class="mt-4 flex">
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
name: 'claim-add-raw',
|
name: 'claim-add-raw',
|
||||||
@@ -225,6 +225,7 @@ export default class GiftedDetails extends Vue {
|
|||||||
projectName = "a project";
|
projectName = "a project";
|
||||||
recipientDid = "";
|
recipientDid = "";
|
||||||
recipientName = "";
|
recipientName = "";
|
||||||
|
showGeneralAdvanced = false;
|
||||||
unitCode = "HUR";
|
unitCode = "HUR";
|
||||||
|
|
||||||
libsUtil = libsUtil;
|
libsUtil = libsUtil;
|
||||||
@@ -354,6 +355,8 @@ export default class GiftedDetails extends Vue {
|
|||||||
this.givenToProject = !!this.projectId;
|
this.givenToProject = !!this.projectId;
|
||||||
this.givenToRecipient = !this.givenToProject && !!this.recipientDid;
|
this.givenToRecipient = !this.givenToProject && !!this.recipientDid;
|
||||||
|
|
||||||
|
this.showGeneralAdvanced = !!settings.showGeneralAdvanced;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
console.error("Error retrieving settings from database:", err);
|
console.error("Error retrieving settings from database:", err);
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-4 flex">
|
<div v-if="showGeneralAdvanced" class="mt-4 flex">
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
name: 'claim-add-raw',
|
name: 'claim-add-raw',
|
||||||
@@ -221,6 +221,7 @@ export default class OfferDetailsView extends Vue {
|
|||||||
projectName = "a project";
|
projectName = "a project";
|
||||||
recipientDid = "";
|
recipientDid = "";
|
||||||
recipientName = "";
|
recipientName = "";
|
||||||
|
showGeneralAdvanced = false;
|
||||||
unitCode = "HUR";
|
unitCode = "HUR";
|
||||||
validThroughDateInput = "";
|
validThroughDateInput = "";
|
||||||
|
|
||||||
@@ -296,8 +297,9 @@ export default class OfferDetailsView extends Vue {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const settings = await retrieveSettingsForActiveAccount();
|
const settings = await retrieveSettingsForActiveAccount();
|
||||||
this.apiServer = settings.apiServer || "";
|
this.apiServer = settings.apiServer ?? "";
|
||||||
this.activeDid = settings.activeDid || "";
|
this.activeDid = settings.activeDid ?? "";
|
||||||
|
this.showGeneralAdvanced = settings.showGeneralAdvanced ?? false;
|
||||||
|
|
||||||
let allContacts: Contact[] = [];
|
let allContacts: Contact[] = [];
|
||||||
let allMyDids: string[] = [];
|
let allMyDids: string[] = [];
|
||||||
|
|||||||
@@ -445,18 +445,8 @@ export default class ProjectsView extends Vue {
|
|||||||
this.activeDid,
|
this.activeDid,
|
||||||
);
|
);
|
||||||
const projectName = project?.name as string;
|
const projectName = project?.name as string;
|
||||||
console.log(
|
|
||||||
"now have name for",
|
|
||||||
offer.fulfillsPlanHandleId,
|
|
||||||
projectName,
|
|
||||||
);
|
|
||||||
this.projectNameFromHandleId[offer.fulfillsPlanHandleId] =
|
this.projectNameFromHandleId[offer.fulfillsPlanHandleId] =
|
||||||
projectName;
|
projectName;
|
||||||
console.log(
|
|
||||||
"now have a real name for",
|
|
||||||
offer.fulfillsPlanHandleId,
|
|
||||||
this.projectNameFromHandleId[offer.fulfillsPlanHandleId],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
this.offers = this.offers.concat([offer]);
|
this.offers = this.offers.concat([offer]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user