From 09cf43e1262e8f5d401a2bbc29cea8b860225a76 Mon Sep 17 00:00:00 2001 From: fiftin Date: Wed, 22 May 2024 19:10:32 +0200 Subject: [PATCH] fix(inventory): optional repo --- db/sql/inventory.go | 4 ++-- web/src/components/TemplateForm.vue | 2 +- web/src/lang/de.js | 2 +- web/src/lang/en.js | 2 +- web/src/lang/es.js | 2 +- web/src/lang/fr.js | 2 +- web/src/lang/it.js | 2 +- web/src/lang/nl.js | 2 +- web/src/lang/pl.js | 2 +- web/src/lang/pt.js | 2 +- web/src/lang/pt_br.js | 2 +- web/src/lang/ru.js | 4 ++-- web/src/lang/zh_cn.js | 2 +- web/src/lang/zh_tw.js | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/db/sql/inventory.go b/db/sql/inventory.go index 94bac6fc..495ba1f1 100644 --- a/db/sql/inventory.go +++ b/db/sql/inventory.go @@ -36,8 +36,8 @@ func (d *SqlDb) UpdateInventory(inventory db.Inventory) error { inventory.Inventory, inventory.BecomeKeyID, inventory.HolderID, - inventory.ID, - inventory.RepositoryID) + inventory.RepositoryID, + inventory.ID) return err } diff --git a/web/src/components/TemplateForm.vue b/web/src/components/TemplateForm.vue index f234dd95..fb484b2d 100644 --- a/web/src/components/TemplateForm.vue +++ b/web/src/components/TemplateForm.vue @@ -171,7 +171,7 @@