Revert "Merge branch 'laa_web'"

This reverts commit 9213952a4e
This commit is contained in:
Stoyan Zlatev
2023-05-11 11:40:54 +00:00
parent e2c464a345
commit 08bc026c4f
12 changed files with 41 additions and 42 deletions
@@ -29,7 +29,11 @@
{
this.Pallets = pallets.ToDictionary(x => x, x => x == this.PalletNr);
if (!this.Pallets.ContainsKey(this.PalletNr))
if (this.PalletNr == 0)
{
this.PalletNr = this.Pallets.Keys.Last();
}
else if (!this.Pallets.ContainsKey(this.PalletNr))
{
this.Pallets[this.PalletNr] = true;
}