Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
11 lines (11 loc) · 659 Bytes

2020-12-18-sw-settings-snippet-list-logic-fixes.md

File metadata and controls

11 lines (11 loc) · 659 Bytes
title issue author author_email author_github
sw-settings-snippet-list logic fixes
NEXT-9533
NiklasLimberg
NiklasLimberg

Core

  • Removed variable this.selectionCount because it dosn't exist in the data object, instead this.hasResetableItems is calculated directly in the onSelectionChanged method in /module/sw-settings-snippet/page/sw-settings-snippet-list/index.js
  • Changed the onSortColumn method to simplify it in /module/sw-settings-snippet/page/sw-settings-snippet-list/index.js
  • Changed the onPageChange method to simplify it in /module/sw-settings-snippet/page/sw-settings-snippet-list/index.js