removes obsolete AppStorage.js
This commit is contained in:
@@ -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