Buildout 3.53

This commit is contained in:
James Barnsley
2020-10-28 21:26:22 +13:00
parent 425439a239
commit 7d771a9c2e
4 changed files with 22 additions and 11 deletions

View File

@ -108117,11 +108117,12 @@ var VolumeControl = /*#__PURE__*/function (_React$Component) {
/*!***************************************!*\
!*** ./src/js/components/GridItem.js ***!
\***************************************/
/*! exports provided: default */
/*! exports provided: GridItem, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GridItem", function() { return GridItem; });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/es/index.js");
@ -108199,7 +108200,9 @@ var GridItem = /*#__PURE__*/function (_React$Component) {
_defineProperty(_assertThisInitialized(_this), "renderSecondary", function (_ref) {
var uri = _ref.uri,
tracks_total = _ref.tracks_total,
_ref$tracks_total = _ref.tracks_total,
tracks_total = _ref$tracks_total === void 0 ? 0 : _ref$tracks_total,
tracks = _ref.tracks,
followers = _ref.followers,
albums_uris = _ref.albums_uris,
artists = _ref.artists;
@ -108212,7 +108215,7 @@ var GridItem = /*#__PURE__*/function (_React$Component) {
"data-qa-file": "GridItem"
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_locale__WEBPACK_IMPORTED_MODULE_7__["I18n"], {
path: "specs.tracks",
count: tracks_total || 0,
count: tracks.length || tracks_total,
"data-qa-node": "I18n",
"data-qa-file": "GridItem"
}));
@ -108267,7 +108270,9 @@ var GridItem = /*#__PURE__*/function (_React$Component) {
_defineProperty(_assertThisInitialized(_this), "render", function () {
var _this$props = _this.props,
album = _this$props.item.album,
_this$props$item = _this$props.item;
_this$props$item = _this$props$item === void 0 ? {} : _this$props$item;
var album = _this$props$item.album,
customLink = _this$props.link,
type = _this$props.type,
show_source_icon = _this$props.show_source_icon,
@ -108356,6 +108361,7 @@ var mapStateToProps = function mapStateToProps(state) {
};
};
/* harmony default export */ __webpack_exports__["default"] = (Object(react_redux__WEBPACK_IMPORTED_MODULE_1__["connect"])(mapStateToProps)(GridItem));
/***/ }),
@ -128603,7 +128609,9 @@ var arrayOf = function arrayOf(property) {
var items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
var array = [];
items.forEach(function (item) {
return item[property] !== undefined ? array.push(item[property]) : null;
if (item[property] === undefined) return;
if (item[property] === null) return;
array.push(item[property]);
});
return array;
};
@ -130429,14 +130437,15 @@ var isLoading = function isLoading() {
var load_queue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
if (!load_queue || !keys) return false;
var queue_keys = Object(_arrays__WEBPACK_IMPORTED_MODULE_0__["indexToArray"])(load_queue);
var queue_keys = Object.keys(load_queue);
var matches = keys.reduce(function (acc, key) {
var regex = '';
try {
regex = new RegExp(key);
} catch (_unused) {
console.error('Invalid regular expression', keys);
// Fucks with unit tests, but helpful for debugging.
// console.error('Invalid regular expression', keys);
return acc;
}
@ -133455,6 +133464,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var Album = /*#__PURE__*/function (_React$Component) {
@ -133805,6 +133815,7 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch) {
};
};
/* harmony default export */ __webpack_exports__["default"] = (Object(react_redux__WEBPACK_IMPORTED_MODULE_1__["connect"])(mapStateToProps, mapDispatchToProps)(Album));
/***/ }),

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1603833816";
var build = "1603873501";
var version = "3.53.0";
// Construct the script tag