Add icons to screen picker above app preview
This commit is contained in:
parent
084d93616b
commit
b1f4f94f93
|
@ -26,6 +26,7 @@
|
||||||
options={$store.screens}
|
options={$store.screens}
|
||||||
getOptionLabel={x => x.routing.route}
|
getOptionLabel={x => x.routing.route}
|
||||||
getOptionValue={x => x._id}
|
getOptionValue={x => x._id}
|
||||||
|
getOptionIcon={x => (x.routing.homeScreen ? "Home" : "WebPage")}
|
||||||
bind:value={$store.selectedScreenId}
|
bind:value={$store.selectedScreenId}
|
||||||
/>
|
/>
|
||||||
<StatusLight custom color={roleColor}>
|
<StatusLight custom color={roleColor}>
|
||||||
|
@ -77,7 +78,7 @@
|
||||||
gap: var(--spacing-l);
|
gap: var(--spacing-l);
|
||||||
}
|
}
|
||||||
.header-left :global(.spectrum-Picker) {
|
.header-left :global(.spectrum-Picker) {
|
||||||
width: 200px;
|
width: 240px;
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
|
Loading…
Reference in New Issue