forked from trent_larson/crowd-funder-for-time-pwa
eliminate extra code for quick-message-display
This commit is contained in:
@@ -151,8 +151,12 @@
|
|||||||
<code class="truncate">{{ derivationPath }}</code>
|
<code class="truncate">{{ derivationPath }}</code>
|
||||||
<button
|
<button
|
||||||
@click="
|
@click="
|
||||||
copyText($event, derivationPath, 'derpath');
|
derpath = true;
|
||||||
derpath = !derpath;
|
copy(derivationPath).then(() => {
|
||||||
|
st(function () {
|
||||||
|
derpath = !derpath;
|
||||||
|
});
|
||||||
|
});
|
||||||
"
|
"
|
||||||
class="ml-2"
|
class="ml-2"
|
||||||
>
|
>
|
||||||
@@ -332,7 +336,7 @@ export default class AccountViewView extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
st(f) {
|
st(f) {
|
||||||
setTimeout(f, 10000);
|
setTimeout(f, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
copyText = (e: MouseEvent, inputText: string, loc: string) => {
|
copyText = (e: MouseEvent, inputText: string, loc: string) => {
|
||||||
@@ -342,8 +346,6 @@ export default class AccountViewView extends Vue {
|
|||||||
if (loc == "did") {
|
if (loc == "did") {
|
||||||
this.showCopyMessage();
|
this.showCopyMessage();
|
||||||
console.log(this);
|
console.log(this);
|
||||||
} else if (loc == "derpath") {
|
|
||||||
this.derpath = true;
|
|
||||||
} else if (loc == "base64") {
|
} else if (loc == "base64") {
|
||||||
this.base64 = true;
|
this.base64 = true;
|
||||||
} else if (loc == "pubhex") {
|
} else if (loc == "pubhex") {
|
||||||
|
|||||||
Reference in New Issue
Block a user