management and delivery improvements
This commit is contained in:
@@ -4,6 +4,7 @@ import { Portal } from 'solid-js/web';
|
||||
import { X } from 'lucide-solid';
|
||||
import { pb, COLLECTIONS } from '../utils/db';
|
||||
import { appStore } from '../store/appStore';
|
||||
import { normalizeScopes } from '../utils/scope-utils';
|
||||
|
||||
interface CloudLoadModalProps {
|
||||
show: boolean;
|
||||
@@ -39,7 +40,7 @@ const CloudLoadModal: Component<CloudLoadModalProps> = (props) => {
|
||||
const data = record.items; // items holds the full JSON blob
|
||||
if (!data) return;
|
||||
|
||||
if (data.scopes) appStore.setScopes(data.scopes);
|
||||
if (data.scopes) appStore.setScopes(normalizeScopes(data.scopes));
|
||||
if (data.subScopes) appStore.setSubScopes(data.subScopes);
|
||||
if (data.items) appStore.setEstimateItems(data.items);
|
||||
if (data.clientInfo) appStore.setClientInfo(data.clientInfo);
|
||||
|
||||
Reference in New Issue
Block a user