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