Handle Plugin Center Authentication failures (#1940)

If the plugin center authentication fails,
the plugins are fetched without authentication
and a warning is displayed on the plugin page.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
This commit is contained in:
Sebastian Sdorra
2022-01-31 15:41:12 +01:00
committed by GitHub
parent 67bd96ea81
commit c74e9984f6
22 changed files with 505 additions and 117 deletions

View File

@@ -22,13 +22,16 @@
* SOFTWARE.
*/
import React, { FC } from "react";
import classNames from "classnames";
const SmallLoadingSpinner: FC = () => {
return (
<div className="loader-wrapper">
<div className="loader is-loading" />
</div>
);
type Props = {
className?: string;
};
const SmallLoadingSpinner: FC<Props> = ({ className }) => (
<div className={classNames("loader-wrapper", className)}>
<div className="loader is-loading" />
</div>
);
export default SmallLoadingSpinner;