mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
parent
b9d5e2c12e
commit
b3c211b9b9
1 changed files with 2 additions and 2 deletions
|
@ -1822,8 +1822,8 @@ export class AppStore extends TypedBaseStore<IAppState> {
|
||||||
newRepository: Repository | CloningRepository | null
|
newRepository: Repository | CloningRepository | null
|
||||||
) {
|
) {
|
||||||
if (oldRepository && newRepository) {
|
if (oldRepository && newRepository) {
|
||||||
// If both are GitHub repositories, check if the workflow preferences
|
// If this is a GitHub repository, check if the workflow preferences
|
||||||
// are different too.
|
// changed too.
|
||||||
if (
|
if (
|
||||||
oldRepository instanceof Repository &&
|
oldRepository instanceof Repository &&
|
||||||
isRepositoryWithGitHubRepository(oldRepository) &&
|
isRepositoryWithGitHubRepository(oldRepository) &&
|
||||||
|
|
Loading…
Reference in a new issue