[DONT MERGE - testing pipeline]: Resolve null check errors in card component
- Updated primary action button condition in card.component.html
- Added null check for primaryAction in ngIf directive
- Removed optional chaining operator from primaryAction properties
- Ensures primaryAction exists before rendering button and accessing its properties
- Addresses TypeScript strict null check errors
Closes #1297 (closed)