summaryrefslogtreecommitdiff
path: root/Pages/Component
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-20 15:53:05 +1000
committerJake Mannens <jake@asger.xyz>2023-09-25 16:02:18 +1000
commit39eead0052215d7be4f49906e987fef7fb0c700b (patch)
treea7381d06ee6cab9d4ce72d1e2a7121bc93193c6d /Pages/Component
parentfbaa4e43709a96774ebe42b7ec5908c1c0f310d7 (diff)
Fixed migration and began adding ACL edit dialog
Diffstat (limited to 'Pages/Component')
-rw-r--r--Pages/Component/AclDialog.razor19
1 files changed, 19 insertions, 0 deletions
diff --git a/Pages/Component/AclDialog.razor b/Pages/Component/AclDialog.razor
new file mode 100644
index 0000000..33d1f03
--- /dev/null
+++ b/Pages/Component/AclDialog.razor
@@ -0,0 +1,19 @@
+@implements IDialog
+
+<Dialog Title="Edit permissions" @ref=dialog>
+</Dialog>
+
+@code {
+ [Parameter]
+ public HBObject Object { get; set; }
+
+ public bool Visible {
+ get => dialog.Visible;
+ set => dialog.Visible = value;
+ }
+
+ private Dialog dialog;
+
+ public void Show() => Visible = true;
+ public void Hide() => Visible = false;
+} \ No newline at end of file