mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user