fix: fix build warning and linter error
This commit is contained in:
@@ -53,7 +53,7 @@ const cancelUpdateItem = () => {
|
||||
<div class="paperbox-item-words">
|
||||
<p v-show="!isEditing">{{ name }}</p>
|
||||
<div v-show="isEditing" class="control">
|
||||
<input v-model="editingName" class="input" type="text"></input>
|
||||
<input v-model="editingName" class="input" type="text" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ const router = createRouter({
|
||||
routes: routes,
|
||||
});
|
||||
|
||||
router.beforeEach((to, from) => {
|
||||
router.beforeEach((to, _from) => {
|
||||
// Only check for those flagged.
|
||||
const token = useTokenStore();
|
||||
if (to.meta.requireLoggedInCheck) {
|
||||
|
||||
@@ -212,7 +212,7 @@ const deleteSharingItem = async (username: string) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-for="item in ownedItems.values()" style="display: flex; flex-flow: column; margin-top: 1.25rem;">
|
||||
<div v-for="item in ownedItems.values()" :key="item[0]" style="display: flex; flex-flow: column; margin-top: 1.25rem;">
|
||||
<OwnedItem :uuid="item[0]" :name="item[1]" @delete="deleteOwnedItem" @share="shareOwnedItem"
|
||||
@update="updateOwnedItem" />
|
||||
</div>
|
||||
@@ -243,7 +243,7 @@ const deleteSharingItem = async (username: string) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-for="item in sharingItems" style="display: flex; flex-flow: column; margin-top: 1.25rem;">
|
||||
<div v-for="item in sharingItems" :key="item" style="display: flex; flex-flow: column; margin-top: 1.25rem;">
|
||||
<SharingItem :username="item" @delete="deleteSharingItem" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user