1
0
This commit is contained in:
syui 2024-04-12 06:11:26 +09:00
parent a7897f34ac
commit bd762a2abf
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -308,7 +308,7 @@
<div v-if="loc.length == 0">
<div v-if="cards" class="bluesky-card">
<p>user : <a :href='"/" + user.data.username'><code>{{ user.data.username }}</code></a></p>
<p>user : <a :href='"/" + user.data.username'><code v-if="user.data.username">{{ user.data.username }}</code></a></p>
<p>id : <code>{{ user.data.id }}</code></p>
<p>did : <code>{{ user.data.did }}</code></p>
<p>aiten : <code>{{ user.data.aiten }}</code></p>
@ -331,7 +331,7 @@
<li v-for="i in record.data">
<p v-if="i.delete === false"><span class="menu-right-top">
<button v-if="i.model === true"><i class="fa-solid fa-cube"></i></button> <button v-if="i.fav != '0'">✧</button> <a :href="'https://git.syui.ai/' + i.username" target="_blank"><button v-if="i.username == 'ai'"><i class="fa-brands fa-git-alt"></i></button></a> <button>ID {{ i.id }}</button></span></p>
<p v-if="i.delete === false"><span class="text"><a :href="'/' + i.username">{{ i.username }}</a></span></p>
<p v-if="i.delete === false"><span class="text"><a :href="'/' + i.username" v-if="i.username">{{ i.username }}</a></span></p>
<span class="menu-right-did" v-if="i.delete === false && did_enable === true && i.did.includes('did:') === true">
<button><a :href="'https://plc.directory/' + i.did + '/log'" target="_blank">{{ i.did }}</a></button>
</span>
@ -883,7 +883,7 @@ export default {
card: "",
cards: "",
loc: window.location.pathname.split('/').slice(-1)[0],
username: "",
username: "ai",
id: "",
model: "",
record: "",
@ -940,6 +940,7 @@ export default {
}
},
mounted() {
this.username = "ai";
this.mount_google_md = false;
if (window.location.host === "localhost:8080") {
this.api_url = "/api/";