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
86.8%
C#
6.6%
Visual Basic .NET
2.7%
HTML
2.3%
CSS
1.1%
Other
0.4%