1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

default audio title now placeholder

This commit is contained in:
Fedor Katurov 2020-03-16 17:28:50 +07:00
parent fff3770b1e
commit 1472d647f8

View file

@ -127,7 +127,11 @@ const AudioPlayerUnconnected = memo(
{isEditing ? (
<div className={styles.input}>
<InputText value={title} handler={onRename} />
<InputText
placeholder={title}
handler={onRename}
value={file.metadata && file.metadata.title}
/>
</div>
) : (
<div className={styles.content}>