mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Fixed redirect of archiving offers
This commit is contained in:
parent
1fa408c48d
commit
f76174c4df
@ -18,7 +18,9 @@ export default class ArchiveOfferModalComponent extends Component {
|
||||
|
||||
try {
|
||||
yield offer.save();
|
||||
this.router.transitionTo('offers');
|
||||
this.router.transitionTo('offers', {queryParams: {
|
||||
type: 'archived'
|
||||
}});
|
||||
|
||||
return offer;
|
||||
} catch (error) {
|
||||
|
@ -18,7 +18,9 @@ export default class ArchiveOfferModalComponent extends Component {
|
||||
|
||||
try {
|
||||
yield offer.save();
|
||||
this.router.transitionTo('offers');
|
||||
this.router.transitionTo('offers', {queryParams: {
|
||||
type: 'active'
|
||||
}});
|
||||
|
||||
return offer;
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user