Browse Source

eliminate extra code for quick-message-display

world-fix
Trent Larson 2 years ago
parent
commit
44ed39b5c1
  1. 12
      src/views/AccountViewView.vue

12
src/views/AccountViewView.vue

@ -151,8 +151,12 @@
<code class="truncate">{{ derivationPath }}</code>
<button
@click="
copyText($event, derivationPath, 'derpath');
derpath = !derpath;
derpath = true;
copy(derivationPath).then(() => {
st(function () {
derpath = !derpath;
});
});
"
class="ml-2"
>
@ -332,7 +336,7 @@ export default class AccountViewView extends Vue {
}
st(f) {
setTimeout(f, 10000);
setTimeout(f, 2000);
}
copyText = (e: MouseEvent, inputText: string, loc: string) => {
@ -342,8 +346,6 @@ export default class AccountViewView extends Vue {
if (loc == "did") {
this.showCopyMessage();
console.log(this);
} else if (loc == "derpath") {
this.derpath = true;
} else if (loc == "base64") {
this.base64 = true;
} else if (loc == "pubhex") {

Loading…
Cancel
Save