From 7718c0a0b8213a76f31176ece0d4f4c17e35da39 Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Tue, 4 Nov 2025 14:25:44 +1100 Subject: [PATCH] Fixed prelude --- .../common/ui/commandctrl/cmdpacks/stdcmds.go | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/internal/common/ui/commandctrl/cmdpacks/stdcmds.go b/internal/common/ui/commandctrl/cmdpacks/stdcmds.go index 0d5c494..ecbf647 100644 --- a/internal/common/ui/commandctrl/cmdpacks/stdcmds.go +++ b/internal/common/ui/commandctrl/cmdpacks/stdcmds.go @@ -454,30 +454,4 @@ ui:bind "view.toggle-marked-items" "M" { mark all } } - -proc _prep_officeCount { - openedOffices = 0 - closedOffices = 0 - - async:query 'officeOpened=$v' [v:(av:true)] { |rs| - openedOffices = len $rs - async:query 'officeOpened=$u' [u:(av:false)] { |rs| - closedOffices = len $rs - - ui:set-item-annotator { |rs item path| - if (eq $path.(-1) "officeOpened") { - if $item.officeOpened { - "Count = ${openedOffices}" - } else { - "Count = ${closedOffices}" - } - } else { - "" - } - } - } -table business-addresses - } -table business-addresses -} - -_prep_officeCount `