Remove redundant method
This commit is contained in:
parent
267395efe9
commit
778ccaf015
1 changed files with 1 additions and 4 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
<br>
|
<br>
|
||||||
Game Code:
|
Game Code:
|
||||||
<code
|
<code
|
||||||
v-clipboard="copy_game_code"
|
v-clipboard="game_code"
|
||||||
v-clipboard:success="copy_success"
|
v-clipboard:success="copy_success"
|
||||||
v-clipboard:error="copy_error"
|
v-clipboard:error="copy_error"
|
||||||
>
|
>
|
||||||
|
|
@ -48,9 +48,6 @@ export default {
|
||||||
game_code: this.game_code,
|
game_code: this.game_code,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
copy_game_code() {
|
|
||||||
this.$clipboard(this.game_code);
|
|
||||||
},
|
|
||||||
copy_success() {
|
copy_success() {
|
||||||
this.$emit(`alert`, {
|
this.$emit(`alert`, {
|
||||||
message: `Game code copied to your clipboard.`,
|
message: `Game code copied to your clipboard.`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue