Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
TJKoury committed Jan 16, 2024
1 parent 6531968 commit f6d5711
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/assets/app-b917c9ac.js → docs/assets/app-120d96b3.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="HandheldFriendly" content="true" />

<title>SDA TAP LAB</title>
<script type="module" crossorigin src="/assets/app-b917c9ac.js"></script>
<script type="module" crossorigin src="/assets/app-120d96b3.js"></script>
<link rel="stylesheet" href="/assets/index-42a1951f.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "spaceaware.io",
"private": true,
"version": "0.0.0+1705371515207",
"version": "0.0.0+1705414279302",
"type": "module",
"scripts": {
"postinstall": "npm run copy:orbpro",
Expand Down
10 changes: 8 additions & 2 deletions src/lib/Events/MessageWrap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
import SitTable from "./menus/SITTable.svelte";
import RawTable from "./menus/RawTable.svelte";
import type { HYPT } from "@/classes/standards/HYP/HYP";
import type { SITT } from "@/classes/standards/LDM/SIT";
import { viewer } from "@/stores/viewer.store";
import type { SITT } from "@/classes/standards/SIT/SIT";
import type {CRMT} from "@/classes/standards/CRM/CRM";
import CrmTable from "./menus/CRMTable.svelte";
export let records: any[] = [];
Expand Down Expand Up @@ -44,6 +45,9 @@
} else if (messageType === "SIT") {
component = SitTable;
records = $activeEvents.SITCOLLECTION.RECORDS;
} else if (messageType === "CRM") {
component = CrmTable;
records = $activeEvents.CRMCOLLECTION.RECORDS;
} else {
component = RawTable;
const rawM: any = $activeEvents[`${messageType}COLLECTION`];
Expand All @@ -52,12 +56,14 @@
});
const nextRecord = () => {
currentIndex = (currentIndex + 1) % records.length;
$activeEvent = records[currentIndex];
};
$: $activeEvent = records[currentIndex];
const previousRecord = () => {
currentIndex = currentIndex - 1 < 0 ? records.length - 1 : currentIndex - 1;
$activeEvent = records[currentIndex];
};
const closeModal = () => {
Expand Down

0 comments on commit f6d5711

Please sign in to comment.