feat: added tracks preview to all tab in Search page; style: track covers are now as abig as tracks tab ones in Search page; build: v1.4.0

This commit is contained in:
Roberto Tonino
2020-11-20 18:18:19 +01:00
parent d20540f46e
commit 88da837663
4 changed files with 11 additions and 6 deletions

View File

@@ -96,6 +96,11 @@ export function copyToClipboard(text) {
ghostInput.remove()
}
/**
* @param {object|array} obj
* @param {...any} props
* @returns {any|null} property requested
*/
export function getPropertyWithFallback(obj, ...props) {
for (const prop of props) {
// Example: this.is.an.example