mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
17 lines
291 B
TypeScript
17 lines
291 B
TypeScript
import { defineComponent } from 'vue';
|
|
import { useStore } from '../store/mainStore';
|
|
|
|
export default defineComponent({
|
|
data() {
|
|
return {
|
|
store: useStore()
|
|
};
|
|
},
|
|
|
|
methods: {
|
|
isDonator(name: string) {
|
|
return this.store.donatorsData.includes(name);
|
|
}
|
|
}
|
|
});
|