RU-T47 Fixing role assignments issue #448
react-native-cicd.yml
on: pull_request
Annotations
8 warnings
|
test:
src/stores/roles/store.ts#L104
Replace `⏎········getAllUnitRolesAndAssignmentsForDepartment(),⏎········getRoleAssignmentsForUnit(unitId),⏎········getAllPersonnelInfos(''),⏎······` with `getAllUnitRolesAndAssignmentsForDepartment(),·getRoleAssignmentsForUnit(unitId),·getAllPersonnelInfos('')`
|
|
test:
src/stores/roles/store.ts#L42
Replace `⏎········getAllUnitRolesAndAssignmentsForDepartment(),⏎········getAllPersonnelInfos(''),⏎······` with `getAllUnitRolesAndAssignmentsForDepartment(),·getAllPersonnelInfos('')`
|
|
test:
src/stores/app/livekit-store.ts#L590
Replace `⏎········room.connect(voipServerWebsocketSslAddress,·token),⏎········15_000,⏎········'room.connect'⏎······` with `room.connect(voipServerWebsocketSslAddress,·token),·15_000,·'room.connect'`
|
|
test:
src/stores/app/livekit-store.ts#L533
Replace `⏎············AudioSession.startAudioSession(),⏎············10_000,⏎············'AudioSession.startAudioSession'⏎··········` with `AudioSession.startAudioSession(),·10_000,·'AudioSession.startAudioSession'`
|
|
test:
src/stores/app/livekit-store.ts#L496
Replace `⏎········get().requestPermissions(),⏎········10_000,⏎········'requestPermissions'⏎······` with `get().requestPermissions(),·10_000,·'requestPermissions'`
|
|
test:
src/stores/app/livekit-store.ts#L457
Replace `⏎··········'Voice·Connection·Timeout',⏎··········`The·connection·to·"${roomInfo.Name}"·took·too·long.·Please·try·again.`,⏎··········[{·text:·'OK'·}]⏎········` with `'Voice·Connection·Timeout',·`The·connection·to·"${roomInfo.Name}"·took·too·long.·Please·try·again.`,·[{·text:·'OK'·}]`
|
|
test:
src/components/roles/role-assignment-item.tsx#L99
Replace `·isOpen={isModalOpen}·onClose={handleCloseModal}·roleName={role.Name}·selectedUserId={assignedUser?.UserId}·users={availableUsers}·onSelectUser={handleSelectUser}·currentAssignments={currentAssignments}·currentRoleId={role.UnitRoleId}` with `⏎········isOpen={isModalOpen}⏎········onClose={handleCloseModal}⏎········roleName={role.Name}⏎········selectedUserId={assignedUser?.UserId}⏎········users={availableUsers}⏎········onSelectUser={handleSelectUser}⏎········currentAssignments={currentAssignments}⏎········currentRoleId={role.UnitRoleId}⏎·····`
|
|
test:
src/components/maps/static-map.tsx#L40
Replace `⏎········style={StyleSheet.flatten([styles.map,·{·height·}])}⏎········styleURL={mapStyle}⏎········logoEnabled={false}⏎········attributionEnabled={false}⏎········compassEnabled={true}⏎········zoomEnabled={true}⏎········rotateEnabled={true}⏎······` with `·style={StyleSheet.flatten([styles.map,·{·height·}])}·styleURL={mapStyle}·logoEnabled={false}·attributionEnabled={false}·compassEnabled={true}·zoomEnabled={true}·rotateEnabled={true}`
|