IKHSAN
ENID Baca dalam Bahasa Indonesia

opendesk

Public
Branch
main
Latest commit
08d9f3328 October 2026

categoryAccess.ts

Open raw
import { markRaw } from "vue";
import OrganizationsIcon from "../OrganizationsIcon.vue";
import { __ } from "../translation";

// The desk's access icons; a function so labels translate once loaded.
export function categoryAccess(): Record<string, { icon: unknown; label: string }> {
  return {
    Public: { icon: "lucide-globe", label: __("Public") },
    Customers: { icon: markRaw(OrganizationsIcon), label: __("Customers") },
    Private: { icon: "lucide-lock", label: __("Private") },
    Mixed: { icon: "lucide-blend", label: __("Mixed") },
  };
}
bytes
555
lines
14
Type
ts
Latest commit
28 October 2026