Commit 7f6a8f46 authored by Hubert Boma Manilla's avatar Hubert Boma Manilla
Browse files

Bug 1834991 - [devtools] Cleanup unused source tree selector r=devtools-reviewers,ochameau

- Removed the unused source-tree selector
- Remname the source-tree actor file to match the realted reducer and selector

Differential Revision: https://phabricator.services.mozilla.com/D179055
parent 7410cefe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ import * as ui from "./ui";
import * as fileSearch from "./file-search";
import * as projectTextSearch from "./project-text-search";
import * as quickOpen from "./quick-open";
import * as sourceTree from "./source-tree";
import * as sourcesTree from "./sources-tree";
import * as sources from "./sources";
import * as sourcesActors from "./source-actors";
import * as tabs from "./tabs";
@@ -40,7 +40,7 @@ export default {
  ...objectInspector.actions,
  ...projectTextSearch,
  ...quickOpen,
  ...sourceTree,
  ...sourcesTree,
  ...threads,
  ...toolbox,
  ...preview,
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ CompiledModules(
    "project-text-search.js",
    "quick-open.js",
    "source-actors.js",
    "source-tree.js",
    "sources-tree.js",
    "tabs.js",
    "toolbox.js",
    "tracing.js",
+0 −11
Original line number Diff line number Diff line
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

export function getExpandedState(state) {
  return state.sourceTree.expanded;
}

export function getFocusedSourceItem(state) {
  return state.sourceTree.focusedItem;
}