Commit 0bf2d5eb by Carlos Mondragon Committed by Johannes Schill

Extract ApiKeyCount from state.

parent 795b0ca9
import { ApiKeysState } from 'app/types'; import { ApiKeysState } from 'app/types';
export const getApiKeysCount = (state: ApiKeysState) => state.keys.length;
export const getApiKeys = (state: ApiKeysState) => { export const getApiKeys = (state: ApiKeysState) => {
const regex = RegExp(state.searchQuery, 'i'); const regex = RegExp(state.searchQuery, 'i');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment