c76ddb71230e360a858a3ad0515e6042400c9f10
getSignatureNavState for robustness
Updated `getSignatureNavState` to handle cases where the global signature list (`_allSignatures`) is unavailable or empty by introducing an early return with a default state. Revised the logic to calculate `total`, `signed`, and `unsigned` using the global signature list, simplifying the `currentIndex` calculation to use the `signed` count. Updated `canGoPrev` and `canGoNext` to reflect the presence of signed or unsigned signatures. Removed outdated logic relying on `signatureButtons` and added Turkish comments to clarify the new implementation.
Description
No description provided
Languages
JavaScript
83.9%
C#
7.6%
HTML
3.8%
Visual Basic .NET
2.7%
CSS
1.5%
Other
0.4%