@@ -16,15 +16,11 @@
diff --git a/web/src/views/Items.vue b/web/src/views/Items.vue
index bfe852d..9ed1474 100644
--- a/web/src/views/Items.vue
+++ b/web/src/views/Items.vue
@@ -44,10 +44,10 @@
v-slot="{ item }"
@itemActivated="openLightboxModalWith($event)"
>
-
+ />
{{ item.description }}
uid: {{ item.uid }} box: {{ item.box }}
@@ -75,17 +75,16 @@ import Cards from '@/components/Cards';
import Modal from '@/components/Modal';
import EditItem from '@/components/EditItem';
import {mapActions, mapState} from 'vuex';
-import config from '../config';
import Lightbox from '../components/Lightbox';
+import AuthenticatedImage from "@/components/AuthenticatedImage.vue";
export default {
name: 'Items',
data: () => ({
lightboxItem: null,
editingItem: null,
- baseUrl: config.service.url,
}),
- components: {Lightbox, Table, Cards, Modal, EditItem},
+ components: {AuthenticatedImage, Lightbox, Table, Cards, Modal, EditItem},
computed: mapState(['loadedItems', 'layout']),
methods: {
...mapActions(['deleteItem', 'markItemReturned']),