Skip to content

Commit

Permalink
fix(status): fix client display bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Mar 21, 2021
1 parent 5690996 commit 939c3bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/plugin-status/client/components/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div class="k-input" :class="{ focused, disabled }">
<i v-if="prefix" :class="'fas fa-' + prefix" class="prefix" @click="$emit('clickPrefix')"/>
<input
ref="input"
:value="modelValue"
:type="type"
:style="inputStyle"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-status/client/views/layout/navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<span class="right">
<template v-if="user">
<router-link to="/profile">{{ user.name }}<i class="fas fa-user-circle"/></router-link>
<k-button frameless @click="logout">登出<i class="fas fa-sign-in-alt"/></k-button>
<k-button frameless @click="logout">登出<i class="fas fa-sign-out-alt"/></k-button>
</template>
<template v-else>
<router-link to="/login">登录<i class="fas fa-sign-in-alt"/></router-link>
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-status/client/views/sandbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Message {
const text = ref('')
const panel = ref<Element>(null)
const messages = storage.create<Message[]>('messages', [])
const messages = storage.create<Message[]>('sandbox', [])
watch(user, () => messages.value = [])
Expand Down

0 comments on commit 939c3bc

Please sign in to comment.