Skip to content

Commit

Permalink
Bugfix for wrong create-poicy deeplink
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Sep 30, 2024
1 parent e9561c3 commit afa0896
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manage-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>manage</artifactId>
<version>7.4.8</version>
<version>7.4.9-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion manage-gui/src/components/metadata/Policies.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class Policies extends React.Component {
newMetaData = e => {
stop(e);
const {metaData} = this.props;
const type = metaData.type === "saml20_sp" ? "sp" : "idp";
const type = metaData.type === "saml20_idp" ? "idp" : "sp";
const path = encodeURIComponent(`/metadata/policy/new?${type}=${metaData.data.entityid}`);
this.props.navigate(`/refresh-route/${path}`, {replace: true});
};
Expand Down
1 change: 0 additions & 1 deletion manage-gui/src/components/metadata/PolicyForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function PolicyForm({
data,
isNew,
onChange,
errors,
onError
}) {

Expand Down
2 changes: 1 addition & 1 deletion manage-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>manage</artifactId>
<version>7.4.8</version>
<version>7.4.9-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.openconext</groupId>
<artifactId>manage</artifactId>
<version>7.4.8</version>
<version>7.4.9-SNAPSHOT</version>
<packaging>pom</packaging>

<name>manage</name>
Expand Down

0 comments on commit afa0896

Please sign in to comment.