diff --git a/open-isle-cli/src/components/BaseTimeline.vue b/open-isle-cli/src/components/BaseTimeline.vue index e3ebadc12..0c14729c6 100644 --- a/open-isle-cli/src/components/BaseTimeline.vue +++ b/open-isle-cli/src/components/BaseTimeline.vue @@ -44,7 +44,7 @@ export default { width: 32px; height: 32px; border-radius: 50%; - color: white; + color: var(--text-color); display: flex; justify-content: center; align-items: center; diff --git a/open-isle-cli/src/components/ReactionsGroup.vue b/open-isle-cli/src/components/ReactionsGroup.vue index ac9be94cd..fa563e939 100644 --- a/open-isle-cli/src/components/ReactionsGroup.vue +++ b/open-isle-cli/src/components/ReactionsGroup.vue @@ -33,7 +33,10 @@ let cachedTypes = null const fetchTypes = async () => { if (cachedTypes) return cachedTypes try { - const res = await fetch(`${API_BASE_URL}/api/reaction-types`) + const token = getToken() + const res = await fetch(`${API_BASE_URL}/api/reaction-types`, { + headers: { Authorization: `Bearer ${token}` } + }) if (res.ok) { cachedTypes = await res.json() } else {