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
82.6%
C#
8.4%
HTML
4.5%
Visual Basic .NET
2.6%
CSS
1.4%
Other
0.4%