CollectionStore.getActiveTab uses hard-coded index IDs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • No version
    • Affects Version/s: 1.8.0-beta.1, 1.9.0-dev
    • Component/s: Plugins, Tech debt
    • None
    • Not Needed

      As discovered on COMPASS-1297, code comparisons like the following break when we do things like Documents Tab the default, COMPASS-749:

      if (CollectionStore.getActiveTab() === 1) {
      

      This ticket should generalize all tab comparisons so the tab can appear at any part of the tab list, i.e. not a hard-coded tab index.

              Assignee:
              Unassigned
              Reporter:
              Peter Schmidt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: