-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #37144 - Use OS family for host details page packages tab
- Loading branch information
1 parent
8a156c1
commit 6d7b6c2
Showing
6 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
webpack/components/extensions/HostDetails/Tabs/ContentTab/actions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; | ||
import { foremanApi } from '../../../../../services/api'; | ||
import { HOST_DETAILS_CONTENT_HOST_OS_KEY } from './constants'; | ||
|
||
export const getHostOs = osId => get({ | ||
type: API_OPERATIONS.GET, | ||
key: HOST_DETAILS_CONTENT_HOST_OS_KEY, | ||
url: foremanApi.getApiUrl(`/operatingsystems/${osId}`), | ||
}); | ||
export default getHostOs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 19 additions & 4 deletions
23
webpack/components/extensions/HostDetails/Tabs/ContentTab/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters