Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-1327

CollectionStore.getActiveTab uses hard-coded index IDs

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • No version
    • 1.8.0-beta.1, 1.9.0-dev
    • Plugins, Tech debt
    • None
    • Not Needed

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.schmidt Peter Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: