add version and build to homepage view

This commit is contained in:
Hayden 2022-10-13 16:41:21 -08:00
parent ae73b194c4
commit a7a769aec3

View file

@ -15,7 +15,6 @@
const { data } = await api.status(); const { data } = await api.status();
if (data) { if (data) {
console.log(data);
username.value = "demo@example.com"; username.value = "demo@example.com";
password.value = "demo"; password.value = "demo";
} }
@ -223,6 +222,9 @@
</div> </div>
</div> </div>
</div> </div>
<footer v-if="status" class="absolute text-center w-full bottom-0 pb-4">
<p class="text-center text-sm">Version: {{ status.build.version }} ~ Build: {{ status.build.commit }}</p>
</footer>
</div> </div>
</template> </template>