Separate errors and make them dissmissable
This commit is contained in:
parent
c3e203e9d4
commit
4fed74102e
@ -1,13 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="md-layout" v-if="error" @click="error = null">
|
||||
<div class="md-layout-item">
|
||||
<md-app>
|
||||
<md-app-content>
|
||||
Error: <br>
|
||||
{{ error }}
|
||||
</md-app-content>
|
||||
</md-app>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="md-layout">
|
||||
<div class="md-layout-item">
|
||||
<md-app>
|
||||
<md-app-content>
|
||||
<div v-if="error">
|
||||
Errors: <br>
|
||||
{{ error }}
|
||||
</div>
|
||||
<md-field>
|
||||
<label>Name</label>
|
||||
<md-input v-model="name" :readonly="gameJoined"></md-input>
|
||||
|
Loading…
Reference in New Issue
Block a user