message: Do not show collapse button for items without actions
diff: @@ -127,12 +127,24 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  addItemToLoadout(item, e);
  };
  + const showCollapse =
  + item.taggable ||
  + item.lockable ||
  + item.trackable ||
  + !item.notransfer ||
  + item.comparable ||
  + canConsolidate ||
  + canDistribute ||
  + item.equipment ||
  + item.infusionFuel;
  +
  return (
  <>
  <div
  className={clsx(styles.interaction, { [styles.collapsed]: sidecarCollapsed })}
  ref={containerRef}
  >
  + {showCollapse && (
  <div
  className={styles.collapseButton}
  onClick={onToggleSidecar}
  @@ -141,6 +153,7 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  >
  <AppIcon icon={sidecarCollapsed ? maximizeIcon : minimizeIcon} />
  </div>
  + )}
  {$featureFlags.moveAmounts && item.destinyVersion === 1 && maximum > 1 && (
  <ItemMoveAmount
  amount={amount}
  @@ -165,7 +178,8 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  </span>
  </LockButton>
  )}
  - {stores.map((store) => (
  + {!sidecarCollapsed &&
  + stores.map((store) => (
  <React.Fragment key={store.id}>
  {store.isVault && canShowVault(store, itemOwner, item) && (
  <div
  @@ -174,13 +188,10 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  role="button"
  tabIndex={-1}
  >
  - <StoreIcons store={store} />
  - <span className={clsx({ [styles.hideLabel]: sidecarCollapsed })}>
  - {t('MovePopup.Vault')}
  - </span>
  + <StoreIcons store={store} /> {t('MovePopup.Vault')}
  </div>
  )}
  - {!sidecarCollapsed && canShowStore(store, itemOwner, item) && (
  + {canShowStore(store, itemOwner, item) && (
  <div
  className={clsx(styles.actionButton, styles.move, {
  [styles.disabled]: !storeButtonEnabled(store, itemOwner, item),
  @@ -189,11 +200,10 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  role="button"
  tabIndex={-1}
  >
  - <StoreIcons store={store} />
  - {t('MovePopup.Store')}
  + <StoreIcons store={store} /> {t('MovePopup.Store')}
  </div>
  )}
  - {!sidecarCollapsed && itemCanBeEquippedBy(item, store) && (
  + {itemCanBeEquippedBy(item, store) && (
  <div
  className={clsx(styles.actionButton, styles.equip, {
  [styles.disabled]: item.owner === store.id && item.equipped,
  @@ -202,8 +212,7 @@ export default function DesktopItemActions({ item }: { item: DimItem }) {
  role="button"
  tabIndex={-1}
  >
  - <StoreIcons store={store} />
  - {t('MovePopup.Equip')}
  + <StoreIcons store={store} /> {t('MovePopup.Equip')}
  </div>
  )}
  </React.Fragment>
  