fix: updated plex_userid to camelcase

This commit is contained in:
2022-08-19 10:49:16 +02:00
parent 74d5868a5c
commit 2fed03a882
5 changed files with 11 additions and 11 deletions

View File

@@ -47,7 +47,7 @@
</action-button>
<action-button
v-if="plexId && media?.exists_in_plex"
v-if="plexUserId && media?.exists_in_plex"
@click="openInPlex"
>
<IconPlay />
@@ -224,7 +224,7 @@
const store = useStore();
const admin = computed(() => store.getters["user/admin"]);
const plexId = computed(() => store.getters["user/plexId"]);
const plexUserId = computed(() => store.getters["user/plexUserId"]);
const poster = computed(() => {
if (!media.value) return "/assets/placeholder.png";

View File

@@ -2,7 +2,7 @@
<div>
<h3 class="settings__header">Plex account</h3>
<div v-if="!plexId">
<div v-if="!plexUserId">
<span class="info"
>Sign in to your plex account to get information about recently added
movies and to see your watch history</span
@@ -64,8 +64,8 @@
const store = useStore();
const emit = defineEmits<Emit>();
const plexId: ComputedRef<boolean> = computed(
() => store.getters["user/plexId"]
const plexUserId: ComputedRef<boolean> = computed(
() => store.getters["user/plexUserId"]
);
async function authenticatePlex() {