[placeDisplay] Fix inverted logic for desktop-is-home case
We only want to hide the Desktop link if it desktopIsHome, not if it isn't.
This commit is contained in:
parent
9ba5ca0193
commit
1526500079
@ -284,7 +284,7 @@ PlacesManager.prototype = {
|
|||||||
getDefaultPlaces: function () {
|
getDefaultPlaces: function () {
|
||||||
let places = [this._home];
|
let places = [this._home];
|
||||||
|
|
||||||
if (this._isDesktopHome)
|
if (!this._isDesktopHome)
|
||||||
places.push(this._desktopMenu);
|
places.push(this._desktopMenu);
|
||||||
|
|
||||||
if (this._network)
|
if (this._network)
|
||||||
|
Loading…
Reference in New Issue
Block a user