Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d030c8e88a | ||
|
|
68ffb4ba08 |
@@ -43,7 +43,7 @@ const currentTeam = computed(() =>
|
||||
|
||||
const isPlayerTurn = computed(() =>
|
||||
currentTeam.value?.players.some(
|
||||
(p) => p.user.userId == authStore.selfUser.userId
|
||||
(p) => p._id == selfPlayer.value?._id
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ export const cards = {} as Record<string, Component>;
|
||||
export const tokens = {} as Record<string, Component>;
|
||||
|
||||
export async function compileCards() {
|
||||
const svgs = import.meta.glob("./assets/images/cards/heron-svg/*.svg", {
|
||||
const svgs = import.meta.glob("@/assets/images/cards/heron-svg/*.svg", {
|
||||
eager: true,
|
||||
});
|
||||
|
||||
@@ -64,7 +64,7 @@ export async function compileCards() {
|
||||
}
|
||||
|
||||
export async function compileTokens() {
|
||||
const svgs = import.meta.glob("./assets/images/tokens/*.svg", {
|
||||
const svgs = import.meta.glob("@/assets/images/tokens/*.svg", {
|
||||
eager: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user