forked from trent_larson/crowd-funder-for-time-pwa
make invite notes the default user name when adding a contact
This commit is contained in:
@@ -51,10 +51,12 @@ export default class ContactNameDialog extends Vue {
|
||||
message?: string,
|
||||
saveCallback?: (name?: string) => void,
|
||||
cancelCallback?: () => void,
|
||||
defaultName?: string,
|
||||
) {
|
||||
this.cancelCallback = cancelCallback || this.cancelCallback;
|
||||
this.saveCallback = saveCallback || this.saveCallback;
|
||||
this.message = message ?? this.message;
|
||||
this.newText = defaultName ?? "";
|
||||
this.title = title ?? this.title;
|
||||
this.visible = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user