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

pushed in the last commit.
This commit is contained in:
yuanhau 2025-06-05 15:48:52 +08:00
parent 4d49554a0e
commit 083fae51de
5 changed files with 18 additions and 6 deletions

View file

@ -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>