forked from jsnbuchanan/crowd-funder-for-time-pwa
only show the "raw edit" when advanced options are turned on
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 flex">
|
||||
<div v-if="showGeneralAdvanced" class="mt-4 flex">
|
||||
<router-link
|
||||
:to="{
|
||||
name: 'claim-add-raw',
|
||||
@@ -221,6 +221,7 @@ export default class OfferDetailsView extends Vue {
|
||||
projectName = "a project";
|
||||
recipientDid = "";
|
||||
recipientName = "";
|
||||
showGeneralAdvanced = false;
|
||||
unitCode = "HUR";
|
||||
validThroughDateInput = "";
|
||||
|
||||
@@ -296,8 +297,9 @@ export default class OfferDetailsView extends Vue {
|
||||
|
||||
try {
|
||||
const settings = await retrieveSettingsForActiveAccount();
|
||||
this.apiServer = settings.apiServer || "";
|
||||
this.activeDid = settings.activeDid || "";
|
||||
this.apiServer = settings.apiServer ?? "";
|
||||
this.activeDid = settings.activeDid ?? "";
|
||||
this.showGeneralAdvanced = settings.showGeneralAdvanced ?? false;
|
||||
|
||||
let allContacts: Contact[] = [];
|
||||
let allMyDids: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user