Buildout
This commit is contained in:
@ -154832,7 +154832,7 @@ var GridItem = function GridItem(_ref2) {
|
||||
|
||||
if (item.name && item.type !== 'artist') {
|
||||
// Strip out "%"; this causes conflicts with our uri decoder
|
||||
to += "/".concat(item.name.replace('%', ''));
|
||||
to += "/".concat(encodeURIComponent(item.name.replace('%', '')));
|
||||
}
|
||||
}
|
||||
|
||||
@ -156020,7 +156020,7 @@ var ListItem = function ListItem(_ref) {
|
||||
to = item.link;
|
||||
} else {
|
||||
to = "/".concat(item.type, "/").concat(Object(_util_format__WEBPACK_IMPORTED_MODULE_12__["encodeUri"])(item.uri));
|
||||
if (item.name && item.type !== 'artist') to += "/".concat(item.name);
|
||||
if (item.name && item.type !== 'artist') to += "/".concat(encodeURIComponent(item.name));
|
||||
}
|
||||
|
||||
if (e.target.tagName.toLowerCase() !== 'a') {
|
||||
@ -162734,7 +162734,9 @@ var Track = function Track(_ref2) {
|
||||
};
|
||||
|
||||
var updateCurrentEvent = function updateCurrentEvent(data) {
|
||||
return setCurrentEvent(_objectSpread(_objectSpread({}, currentEvent), data));
|
||||
return setCurrentEvent(function (prev) {
|
||||
return _objectSpread(_objectSpread({}, prev), data);
|
||||
});
|
||||
};
|
||||
|
||||
var onMouseDown = function onMouseDown(e) {
|
||||
@ -163191,7 +163193,7 @@ var TrackList = function TrackList(_ref) {
|
||||
var nextSelectedTracks = []; // Dragging a non-selected track. We need to deselect everything
|
||||
// else and select only this track
|
||||
|
||||
if (!nextSelectedTracks.includes(track_key)) {
|
||||
if (!selected_tracks.includes(track_key)) {
|
||||
setSelectedTracks([track_key]);
|
||||
nextSelectedTracks = digestTracksKeys([track_key]);
|
||||
} else {
|
||||
|
||||
File diff suppressed because one or more lines are too long
85
mopidy_iris/static/app.min.css
vendored
Normal file
85
mopidy_iris/static/app.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
135
mopidy_iris/static/app.min.js
vendored
Normal file
135
mopidy_iris/static/app.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -115,7 +115,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1633134303";
|
||||
var build = "1633136375";
|
||||
var version = "3.58.2";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
@ -84,7 +84,7 @@ const Track = ({
|
||||
const onMouseLeave = () => setHover(false);
|
||||
const onContextMenu = (e) => handleContextMenu(e, key);
|
||||
const onDoubleClick = (e) => handleDoubleClick(e, key);
|
||||
const updateCurrentEvent = (data) => setCurrentEvent({ ...currentEvent, ...data });
|
||||
const updateCurrentEvent = (data) => setCurrentEvent((prev) => ({ ...prev, ...data }));
|
||||
|
||||
const onMouseDown = (e) => {
|
||||
const target = $(e.target);
|
||||
@ -107,7 +107,7 @@ const Track = ({
|
||||
} else {
|
||||
updateCurrentEvent({ start_position: false });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const onMouseMove = (e) => {
|
||||
if (handleDrag === undefined) return false;
|
||||
|
||||
Reference in New Issue
Block a user