-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render objects in popovers unless their mask is whitelisted
- Loading branch information
Showing
7 changed files
with
104 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script> | ||
import { easydb_api_object } from "../../lib/apiaccess"; | ||
import { maskObj } from "../../lib/easydbHelpers"; | ||
import { uuidStore } from "../../lib/stores"; | ||
import RecursiveEasyDbDetailView from "./RecursiveEasyDBDetailView.svelte"; | ||
import TitleDisplay from "./TitleDisplay.svelte"; | ||
import ViewerPanel from "./ViewerPanel.svelte"; | ||
import Waiting from "../utils/Waiting.svelte"; | ||
import DetailControls from "./DetailControls.svelte"; | ||
export let uuid; | ||
export let mask = ""; | ||
</script> | ||
|
||
{#await easydb_api_object(uuid ? uuid : $uuidStore.at(-1), mask) } | ||
<Waiting> | ||
Waiting for API response... | ||
</Waiting> | ||
{:then data } | ||
<DetailControls data={data}/> | ||
<ViewerPanel fields={maskObj(data).fields} data={data} table={maskObj(data).table_name_hint}/> | ||
<TitleDisplay data={data} table={maskObj(data).table_name_hint}/> | ||
<RecursiveEasyDbDetailView fields={maskObj(data).fields} data={data} table={maskObj(data).table_name_hint}/> | ||
{/await} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters