Skip to content

Commit

Permalink
Change layout location (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 authored Dec 15, 2021
1 parent e1bb3bf commit cbe2e9a
Show file tree
Hide file tree
Showing 28 changed files with 6 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
distribution: temurin
cache: maven
- name: Maven
run: mvn test -Pui
run: mvn test
- name: Prepare failure archive (if maven failed)
if: failure()
shell: bash
Expand Down
1 change: 0 additions & 1 deletion src/main/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@types/react-dom": "^17.0.0",
"axios": "^0.24.0",
"formik": "^2.2.9",
"keycloak-js": "^15.0.2",
"moment": "^2.29.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { WarningTriangleIcon } from "@patternfly/react-icons";
import { AppRoutes } from "./Routes";
import "./App.scss";

import { DefaultLayout } from "./layout";
import { DefaultLayout } from "./shared/components/layout";

import NotificationsPortal from "@redhat-cloud-services/frontend-components-notifications/NotificationPortal";
import "@redhat-cloud-services/frontend-components-notifications/index.css";
Expand Down
1 change: 0 additions & 1 deletion src/main/webapp/src/logo.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export const VersionList: React.FC = () => {
const dispatch = useDispatch();

const versions = useVersionsQuery();
const versionMutation = useCreateVersionMutation();
const deleleteVersionMutation = useDeleteVersionMutation();
const createVersionMutation = useCreateVersionMutation();
const deleteVersionMutation = useDeleteVersionMutation();

const [filterText, setFilterText] = useState("");

Expand Down Expand Up @@ -148,7 +148,7 @@ export const VersionList: React.FC = () => {
type: "version",
onDelete: () => {
dispatch(deleteDialogActions.processing());
deleleteVersionMutation
deleteVersionMutation
.mutateAsync(row)
.catch((error) => {
dispatch(
Expand Down Expand Up @@ -179,7 +179,7 @@ export const VersionList: React.FC = () => {
const rows: IRow[] = itemsToRow(pageItems || []);

const onNewVersion = () => {
versionMutation.mutateAsync().catch((error) => {
createVersionMutation.mutateAsync().catch((error) => {
dispatch(
alertActions.addAlert("danger", "Error", getAxiosErrorMessage(error))
);
Expand Down
File renamed without changes.
File renamed without changes.
18 changes: 0 additions & 18 deletions src/main/webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3688,11 +3688,6 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==

[email protected]:
version "1.3.1"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1"
integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==

base64-js@^1.0.2:
version "1.5.1"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
Expand Down Expand Up @@ -8948,11 +8943,6 @@ js-base64@^2.1.8:
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4"
integrity sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==

[email protected]:
version "0.9.0"
resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966"
integrity sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==

[email protected]:
version "0.8.0"
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
Expand Down Expand Up @@ -9171,14 +9161,6 @@ jsprim@^2.0.2:
array-includes "^3.1.3"
object.assign "^4.1.2"

keycloak-js@^15.0.2:
version "15.0.2"
resolved "https://registry.yarnpkg.com/keycloak-js/-/keycloak-js-15.0.2.tgz#9d12dd8860953a267b9b18f351ad2e76b8e94a9c"
integrity sha512-dv2a4NcPSH3AzGWG3ZtB+VrHpuQLdFBYXtQBj/+oBzm6XNwnVAMdL6LIC0OzCLQpn3rKTQJtNSATAGhbKJgewQ==
dependencies:
base64-js "1.3.1"
js-sha256 "0.9.0"

killable@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892"
Expand Down

0 comments on commit cbe2e9a

Please sign in to comment.