Skip to content

Commit

Permalink
fix: remove disable logic (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigyu authored Oct 4, 2024
1 parent 11df4b2 commit 9fae3c7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import DataTableHeader from '@/components/managePermissions/table/DataTableHeade
import { IconSize } from '@/enum/IconEnum';
import { hashRouter } from '@/router';
import { routeItems } from '@/router/routeItem';
import { EnvironmentSettings } from '@/services/EnvironmentSettings';
import { isNewAccess } from '@/services/utils';
import { selectedApplicationId } from '@/store/ApplicationState';
import {
Expand All @@ -24,8 +23,6 @@ import {
} from '@/store/Constants';
import type { FamApplicationUserRoleAssignmentGetSchema } from 'fam-app-acsctl-api';
const environmentSettings = new EnvironmentSettings();
const isDevEnvironment = environmentSettings.isDevEnvironment();
type emit = (
e: 'deleteUserRoleAssignment',
Expand Down Expand Up @@ -166,7 +163,7 @@ const highlightNewUserAccessRow = (rowData: any) => {
</Column>
<Column header="Action">
<template #body="{ data }">
<button title="User permission history" class="btn btn-icon" :disabled="!isDevEnvironment"
<button title="User permission history" class="btn btn-icon"
@click="navigateToUserDetails(data.user_id)">
<Icon icon="history" :size="IconSize.small" />
</button>
Expand Down

0 comments on commit 9fae3c7

Please sign in to comment.