removes obsolete AppStorage.js
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<p class="navbar-item is-size-4"><slot name="title">...</slot></p>
|
||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false"
|
||||
@click="switchMobileVisibility">
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
</a>
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div id="menu" class="navbar-menu" :class="{'is-active': showOnMobile }">
|
||||
<div class="navbar-end">
|
||||
@@ -17,7 +17,7 @@
|
||||
<slot name="links">
|
||||
<a class="navbar-item">History of Loot</a>
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { AppStorage } from '../AppStorage'
|
||||
export default {
|
||||
props: {
|
||||
// Id of active player
|
||||
@@ -47,7 +46,11 @@
|
||||
computed: {
|
||||
// Check if item is requested by active player
|
||||
isRequested () {
|
||||
return this.claims[this.id].includes(this.item);
|
||||
if (this.claims[this.id]) {
|
||||
return this.claims[this.id].includes(this.item);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
// Check if item is requested by multiple players including active one
|
||||
isInConflict () {
|
||||
|
||||
Reference in New Issue
Block a user