Skip to content

Commit

Permalink
cleanup server links
Browse files Browse the repository at this point in the history
  • Loading branch information
tamland committed Oct 22, 2024
1 parent 50cb49b commit 3c5e2c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/app/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
<div class="mt-4">
<div>Server name: {{ auth.serverInfo?.name }}</div>
<div>Server version: {{ auth.serverInfo?.version }}</div>
<div>Server URL: {{ auth.server }}</div>
<div>
Server URL:
<ExternalLink :href="auth.server">
{{ auth.server }}
</ExternalLink>
</div>
<div>OpenSubsonic: {{ auth.serverInfo?.openSubsonic ?? false }}</div>
<div v-if="auth.serverInfo?.openSubsonic">
OpenSubsonic extensions: {{ auth.serverInfo?.extensions?.join(", ") }}
Expand Down
7 changes: 2 additions & 5 deletions src/app/TopNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@
<Icon icon="person" />
</Avatar>
</template>
<b-dropdown-text>
{{ store.server }}
</b-dropdown-text>
<b-dropdown-text>
{{ store.username }}
</b-dropdown-text>
<b-dropdown-divider />
<b-dropdown-item :href="`${store.server}/settings.view`" target="_blank">
Server settings
<b-dropdown-item :href="store.server" target="_blank" rel="noopener noreferrer">
Server <Icon icon="link" />
</b-dropdown-item>
<b-dropdown-item-button @click="scan">
Scan media folders
Expand Down

0 comments on commit 3c5e2c5

Please sign in to comment.