dodano wyróżnienie nicku wspierającego w Dzienniku

This commit is contained in:
2023-12-02 16:11:29 +01:00
parent a8991434bc
commit 74984ad653
5 changed files with 50 additions and 12 deletions
+16
View File
@@ -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);
}
}
});