wip: Artist page written in composition API in order to improve it and resolve issue 18; style: changed tabs in Artist page

This commit is contained in:
Roberto Tonino
2020-11-14 01:13:15 +01:00
parent 2d7ec9ee6b
commit d04439857a
8 changed files with 245 additions and 212 deletions

View File

@@ -96,7 +96,7 @@ export function copyToClipboard(text) {
ghostInput.remove()
}
export function getProperty(obj, ...props) {
export function getPropertyWithFallback(obj, ...props) {
for (const prop of props) {
// Example: this.is.an.example
let hasDotNotation = /\./.test(prop)