summaryrefslogtreecommitdiff
path: root/Pages/Component
diff options
context:
space:
mode:
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