mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
dodano wyróżnienie nicku wspierającego w Dzienniku
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user