Made several projInfo properties default to empty strings

This commit is contained in:
thepaperpilot 2022-06-26 19:24:03 -05:00
parent ccbd24f614
commit b639d91032
3 changed files with 7 additions and 11 deletions

View file

@ -21,11 +21,7 @@
<div class="link" @click="openChangelog">Changelog</div>
<br />
<div>
<a
:href="discordLink"
v-if="discordLink !== 'https://discord.gg/WzejVAx'"
class="info-modal-discord-link"
>
<a :href="discordLink" v-if="discordLink" class="info-modal-discord-link">
<span class="material-icons info-modal-discord">discord</span>
{{ discordName }}
</a>

View file

@ -11,7 +11,7 @@
<div class="discord">
<span @click="openDiscord" class="material-icons">discord</span>
<ul class="discord-links">
<li v-if="discordLink !== 'https://discord.gg/WzejVAx'">
<li v-if="discordLink">
<a :href="discordLink" target="_blank">{{ discordName }}</a>
</li>
<li>
@ -78,7 +78,7 @@
<div class="discord">
<span @click="openDiscord" class="material-icons">discord</span>
<ul class="discord-links">
<li v-if="discordLink !== 'https://discord.gg/WzejVAx'">
<li v-if="discordLink">
<a :href="discordLink" target="_blank">{{ discordName }}</a>
</li>
<li>

View file

@ -1,10 +1,10 @@
{
"title": "Profectus",
"description": "A project made in Profectus",
"id": "profectus",
"author": "thepaperpilot",
"discordName": "The Paper Pilot Community",
"discordLink": "https://discord.gg/WzejVAx",
"id": "",
"author": "",
"discordName": "",
"discordLink": "",
"versionNumber": "0.0",
"versionTitle": "Initial Commit",