@playpilot/tpi 8.29.0-beta.6 → 8.29.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "8.29.0-beta.6",
3
+ "version": "8.29.0-beta.8",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
package/src/lib/modal.ts CHANGED
@@ -67,8 +67,6 @@ function addModalToList({ type = 'title', injection = null, data, scrollPosition
67
67
  export function closeCurrentModal(outro: boolean = true): void {
68
68
  if (!modals.length) return
69
69
 
70
- console.trace('closeCurrentModal')
71
-
72
70
  saveCurrentModalScrollPosition()
73
71
 
74
72
  unmount(modals[modals.length - 1].component!, { outro })
@@ -36,7 +36,7 @@
36
36
 
37
37
  data = [title as TitleData, ...(railTitles as TitleData[])]
38
38
  } else if (type === 'participant') {
39
- data = fetchParticipantBySid(sid)
39
+ data = await fetchParticipantBySid(sid)
40
40
  }
41
41
 
42
42
  openModal({
@@ -107,6 +107,7 @@
107
107
  }
108
108
 
109
109
  &.small {
110
+ --participant-image-size: #{margin(6)};
110
111
  padding: margin(1);
111
112
  }
112
113
  }