This repository was archived by the owner on Dec 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1111 :pack =" icons[index].pack"
1212 :icon =" icons[index].icon"
1313 v-clipboard:copy =" icons[index].label"
14- @click.native =" toast('Copied to clipboard')"
15- >
16- </b-icon >
14+ @click.native =" icons[index].icon === 'envelope'
15+ ? openMail(icons[index].label)
16+ : toast('Copied to clipboard')" >
17+ </b-icon >
1718 <b-icon class =" property"
1819 v-else
1920 :size =" icons[index].size"
@@ -134,10 +135,14 @@ export default class OnChainProperty extends Vue{
134135 window .open (' https://twitter.com/' + handle .replace (/ @/ , ' ' ), ' _blank' );
135136 }
136137
137- @Watch (' legal' )
138- async watchLegal(newLegal : string , oldLegal : string ){
139- this .legalVerified ();
140- }
138+ public openMail(handle : string ): void {
139+ location .href = ` mailto:${handle }?subject=I%20like%20your%20Creation%20on%20KodaDot&body=Hey%2C%20I've%20found%20your%20creation%20on%20KodaDot%20interesting.%0D%0ACan%20you%20please%20tell%20me%20more%20about%20it%3F ` ;
140+ }
141+
142+ @Watch (' legal' )
143+ async watchLegal(newLegal : string , oldLegal : string ) {
144+ this .legalVerified ();
145+ }
141146
142147 @Watch (' email' )
143148 async watchEmail(newEmail : string , oldEmail : string ){
You can’t perform that action at this time.
0 commit comments