mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
Small fixes
This commit is contained in:
parent
0117b3bcc4
commit
0382de1b77
@ -8,7 +8,7 @@ import prettier from "./src/lib/plugins/prettier";
|
||||
|
||||
const backendHost = process.env.BACKEND_HOST || "http://localhost:8080";
|
||||
const authHost = process.env.AUTH_HOST || "http://localhost:3001";
|
||||
const local = false; // set to true if backendData should be fetched from localhost
|
||||
const local = false; // set to true if backendData should be fetched from localhost. You might need to hard reload (Ctrl+F5) the next page you're on when changing this value
|
||||
const backendDataHost = process.env.BACKEND_DATA_HOST || (local ? "http://localhost:8080" : "https://hangar.papermc.dev");
|
||||
|
||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||
|
@ -115,7 +115,7 @@ function getVisibilityTitle(visibility: Visibility) {
|
||||
|
||||
<template>
|
||||
<div class="flex flex-wrap md:flex-nowrap gap-4">
|
||||
<section class="basis-full md:basis-9/12 flex-grow">
|
||||
<section class="basis-full md:basis-11/15 flex-grow">
|
||||
<ul>
|
||||
<Alert v-if="!versions || !versions.result || versions.result.length === 0" type="info"> {{ i18n.t("version.page.noVersions") }} </Alert>
|
||||
<Pagination v-else-if="versions" :items="versions.result">
|
||||
@ -168,7 +168,7 @@ function getVisibilityTitle(visibility: Visibility) {
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="basis-full md:basis-3/12 flex-grow">
|
||||
<section class="basis-full md:basis-4/15 flex-grow">
|
||||
<div class="flex flex-col flex-wrap space-y-4">
|
||||
<div v-if="hasPerms(NamedPermission.CREATE_VERSION)" class="basis-full flex-grow">
|
||||
<router-link :to="route.path + '/new'">
|
||||
|
Loading…
Reference in New Issue
Block a user