mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-24 05:24:23 +00:00
Made the about news org clickable & commit somethings that are not
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
pushed in the last commit.
This commit is contained in:
parent
4d49554a0e
commit
083fae51de
5 changed files with 18 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import logoutUser from "~/components/logoutuser";
|
||||
// Imports
|
||||
const { t, locale } = useI18n();
|
||||
// Values
|
||||
|
@ -15,7 +16,10 @@ try {
|
|||
if (sendError.value) {
|
||||
error.value = true;
|
||||
}
|
||||
if (true) {
|
||||
if (data.requested_action === "LOGOUT_USER") {
|
||||
logoutUser();
|
||||
}
|
||||
if (false) {
|
||||
allowed.value = true;
|
||||
} else {
|
||||
allowed.value = false;
|
||||
|
@ -32,9 +36,11 @@ try {
|
|||
>
|
||||
<div v-if="!allowed && !error" class="m-2">
|
||||
{{ t("error") }}
|
||||
<button>Update</button>
|
||||
</div>
|
||||
<div v-if="error" class="m-2">
|
||||
<span>{{ errorMsg ? errorMsg : "" }} {{ t("systemerror") }}</span>
|
||||
<button>Update</button>
|
||||
</div>
|
||||
</div>
|
||||
<slot></slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue