fix(ui-shell): initialize platformName as empty string

Prevents "undefined" from being rendered.
This commit is contained in:
Eric Liu 2020-10-24 14:31:40 -07:00
commit 8950920a10
4 changed files with 40 additions and 61 deletions

View file

@ -32,9 +32,9 @@
/**
* Specify the platform name
* Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>)
* @type {string} [platformName]
* @type {string} [platformName=""]
*/
export let platformName = undefined;
export let platformName = "";
/**
* Obtain a reference to the HTML anchor element