Skip to content

Commit

Permalink
Merge pull request #168 from Asp-Codes/main
Browse files Browse the repository at this point in the history
enhancement:Default metadata is shown on Splash if it does not exist
  • Loading branch information
suryabulusu authored Oct 28, 2024
2 parents f115970 + 6dcfaba commit 3856a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Splash.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
></BaseIcon>

<div class="flex items-center" data-test="grade">
<p :class="metadataTitleClass">Class {{ grade }}</p>
<p :class="metadataTitleClass">Class {{ grade || ": ..."}}</p>
</div>
</div>
</div>
Expand All @@ -39,7 +39,7 @@
<div :class="metadataCellClass" class="border-r-2">
<BaseIcon name="math" :iconClass="metadataIconClass"></BaseIcon>
<div class="flex items-center" data-test="subject">
<p :class="metadataTitleClass">{{ subject }}</p>
<p :class="metadataTitleClass">{{ subject || "Subject: ..." }}</p>
</div>
</div>
<div :class="metadataCellClass">
Expand Down

0 comments on commit 3856a62

Please sign in to comment.