mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
remove jetstream inertia properties; remove unused ApiTokenManager;
This commit is contained in:
committed by
Constantin Graf
parent
56ea0ed90e
commit
bffd0773be
@@ -10,7 +10,6 @@ import {
|
||||
} from '@/packages/ui/src';
|
||||
import {
|
||||
UserCircleIcon,
|
||||
KeyIcon,
|
||||
ArrowLeftOnRectangleIcon,
|
||||
ChatBubbleLeftRightIcon,
|
||||
} from '@heroicons/vue/24/solid';
|
||||
@@ -19,12 +18,6 @@ import { openFeedback } from '@/utils/feedback';
|
||||
const page = usePage<{
|
||||
has_services_extension?: boolean;
|
||||
has_billing_extension?: boolean;
|
||||
jetstream: {
|
||||
canCreateTeams: boolean;
|
||||
hasTeamFeatures: boolean;
|
||||
managesProfilePhotos: boolean;
|
||||
hasApiFeatures: boolean;
|
||||
};
|
||||
auth: {
|
||||
user: User & {
|
||||
all_teams: Organization[];
|
||||
@@ -61,15 +54,6 @@ const logout = () => {
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
|
||||
<DropdownMenuItem v-if="page.props.jetstream.hasApiFeatures" as-child>
|
||||
<Link
|
||||
:href="route('api-tokens.index')"
|
||||
class="inline-flex items-center gap-2.5 w-full">
|
||||
<KeyIcon class="w-5 h-5 text-icon-default" />
|
||||
<span>API Tokens</span>
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
|
||||
<DropdownMenuItem v-if="page.props.has_services_extension" as-child>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user