removes obsolete AppStorage.js

This commit is contained in:
2019-10-19 14:23:55 +02:00
parent b0441f3402
commit 622d746446
5 changed files with 44 additions and 185 deletions

View File

@@ -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 () {