Uploaded image for project: 'Konflux UI'
  1. Konflux UI
  2. KFLUXUI-549

secret list page does not handle error well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Konflux

      We enjoyed the following codes in SecretsListView.tsx

      'const [secrets, secretsLoaded] = useSecrets(namespace, true);'

      and we do not deal with error the hook could return.

      When the hook return errors, UI just become a whole error page which is not expected.

      We need to deal with the error and let it show in the error table.

              rh-ee-mmarcin Michal Marcin
              wlin@redhat.com Cara Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: