mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-04 05:50:47 -05:00
desktop: guard against no warning when attempting to clear warning. Fixes #449
This commit is contained in:
@@ -197,6 +197,8 @@ export default class Project {
|
||||
}
|
||||
|
||||
@action clearWarning () {
|
||||
if (!this.warning) return
|
||||
|
||||
this.dismissedWarnings[this._serializeWarning(this.warning)] = true
|
||||
this.warning = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user