Adopt shared WebUI layout primitives
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import {
|
||||
import { ActionToolbar,
|
||||
ActionBlockerHint,
|
||||
FormField,
|
||||
hasScope,
|
||||
@@ -65,7 +65,7 @@ export default function PersonalViewsPanel({
|
||||
return (
|
||||
<div className="views-personal-panel">
|
||||
{options.length > 1 && (
|
||||
<div className="views-owner-toolbar">
|
||||
<ActionToolbar className="views-owner-toolbar">
|
||||
<FormField
|
||||
label="i18n:govoplan-views.view_owner"
|
||||
documentation={VIEWS_FIELD_DOCUMENTATION}
|
||||
@@ -81,7 +81,7 @@ export default function PersonalViewsPanel({
|
||||
))}
|
||||
</select>
|
||||
</FormField>
|
||||
</div>
|
||||
</ActionToolbar>
|
||||
)}
|
||||
<ViewsAdminPanel
|
||||
key={owner.key}
|
||||
|
||||
Reference in New Issue
Block a user