feat(organization): add organization rename redirects and redirect management endpoints
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@stack.gallery/registry',
|
||||
version: '1.6.0',
|
||||
version: '1.7.0',
|
||||
description: 'Enterprise-grade multi-protocol package registry'
|
||||
}
|
||||
|
||||
@@ -278,6 +278,7 @@ export const createOrganizationAction = organizationsStatePart.createAction<{
|
||||
|
||||
export const updateOrganizationAction = organizationsStatePart.createAction<{
|
||||
organizationId: string;
|
||||
name?: string;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
website?: string;
|
||||
|
||||
@@ -79,14 +79,14 @@ export class SgViewDashboard extends DeesElement {
|
||||
const { type, id } = e.detail;
|
||||
if (type === 'org' && id) {
|
||||
appRouter.navigateToEntity('organizations', id);
|
||||
} else if (type === 'org') {
|
||||
appRouter.navigateToView('organizations');
|
||||
} else if (type === 'package' && id) {
|
||||
appRouter.navigateToEntity('packages', id);
|
||||
} else if (type === 'packages') {
|
||||
appRouter.navigateToView('packages');
|
||||
} else if (type === 'tokens') {
|
||||
appRouter.navigateToView('tokens');
|
||||
} else if (type === 'organizations') {
|
||||
appRouter.navigateToView('organizations');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user