Skip to content

Commit c4d48bc

Browse files
committed
fix media type validation
1 parent a430c2b commit c4d48bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="ais-dom-frontend",
5-
version="20210303.6",
5+
version="20210303.7",
66
description="AIS dom frontend",
77
url="https://github.com/sviete/home-assistant/home-assistant-polymer",
88
author="The Authors of the AI-Speaker.com project.",

src/components/media-player/hui-dialog-add-media-source-ais-dialog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export class HuiDialogAddMediaSourceAis extends LitElement {
336336
if (this.mediaName.length < 3) {
337337
return false;
338338
}
339-
if (this.mediaCategory.length < 3) {
339+
if (this.mediaType.length < 3) {
340340
return false;
341341
}
342342
if (this.mediaStreamUrl.length < 10) {

0 commit comments

Comments
 (0)