Remove deprecated code

This commit is contained in:
Andrew Kingston 2022-05-10 13:33:42 +01:00
parent faa3ad2ac4
commit 7679be9199
1 changed files with 1 additions and 6 deletions

View File

@ -2,14 +2,9 @@
import DevicePreviewSelect from "./DevicePreviewSelect.svelte" import DevicePreviewSelect from "./DevicePreviewSelect.svelte"
import AppPreview from "./AppPreview.svelte" import AppPreview from "./AppPreview.svelte"
import { store, selectedScreen, sortedScreens } from "builderStore" import { store, selectedScreen, sortedScreens } from "builderStore"
import { Button, Select, StatusLight, Body, Badge } from "@budibase/bbui" import { Button, Select } from "@budibase/bbui"
import { RoleUtils } from "@budibase/frontend-core" import { RoleUtils } from "@budibase/frontend-core"
import { roles } from "stores/backend"
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
$: roleId = $selectedScreen?.routing.roleId
$: roleColor = RoleUtils.getRoleColour(roleId)
$: roleName = $roles.find(x => x._id === roleId)?.name || "Unknown"
</script> </script>
<div class="app-panel"> <div class="app-panel">