forked from jsnbuchanan/crowd-funder-for-time-pwa
feat: enhance GenericVerifiableCredential interface with explicit optional properties
- Add name, description, and agent as optional properties to GenericVerifiableCredential - Improve type safety and IntelliSense for common claim properties - Maintain backward compatibility with existing code - Reduce need for type assertions when accessing claim properties
This commit is contained in:
@@ -123,7 +123,9 @@ export default class OnboardMeetingMembersView extends Vue {
|
||||
const member = response.data?.data;
|
||||
if (!member) {
|
||||
if (!this.firstName) {
|
||||
this.$refs.userNameDialog.open(this.addMemberToMeeting);
|
||||
(this.$refs.userNameDialog as UserNameDialog).open(
|
||||
this.addMemberToMeeting,
|
||||
);
|
||||
// addMemberToMeeting sets isLoading to false
|
||||
} else {
|
||||
await this.addMemberToMeeting(this.firstName);
|
||||
@@ -136,7 +138,9 @@ export default class OnboardMeetingMembersView extends Vue {
|
||||
} else {
|
||||
// must be already in the right meeting
|
||||
if (!this.firstName) {
|
||||
this.$refs.userNameDialog.open(this.updateMemberInMeeting);
|
||||
(this.$refs.userNameDialog as UserNameDialog).open(
|
||||
this.updateMemberInMeeting,
|
||||
);
|
||||
// updateMemberInMeeting sets isLoading to false
|
||||
} else {
|
||||
await this.updateMemberInMeeting(this.firstName);
|
||||
|
||||
Reference in New Issue
Block a user