See feed only if logged
This commit is contained in:
@@ -27,8 +27,6 @@ const fetchContents = async () => {
|
|||||||
|
|
||||||
const response = await client.get(uri);
|
const response = await client.get(uri);
|
||||||
|
|
||||||
console.log(response.data);
|
|
||||||
|
|
||||||
if (response.status >= 200 && response.status < 300) {
|
if (response.status >= 200 && response.status < 300) {
|
||||||
contentCount.value = response.data.length;
|
contentCount.value = response.data.length;
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
<!-- FEED -->
|
<!-- FEED -->
|
||||||
<v-btn
|
<v-btn
|
||||||
|
v-if="authStore.isAuthenticated"
|
||||||
variant="plain"
|
variant="plain"
|
||||||
icon
|
icon
|
||||||
class="flex flex-row justify-center"
|
class="flex flex-row justify-center"
|
||||||
|
|||||||
Reference in New Issue
Block a user