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

View file

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

View file

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