0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Updated success state for link update on Admin

refs https://github.com/TryGhost/Team/issues/2116

- removes extra redundant success state handling
This commit is contained in:
Rishabh 2022-10-20 18:25:46 +05:30
parent d7b3721036
commit 71999a26b9

View file

@ -120,11 +120,6 @@ export default class Analytics extends Component {
@action
saveLink(currentLink, newLink) {
this.showSuccess = this.updateLinkId;
setTimeout(() => {
this.showSuccess = null;
}, 2000);
if (this._updateLinks.isRunning) {
return this._updateLinks.last;
}