Skip to content

Commit

Permalink
Merge pull request #103 from rodolfomiranda/filter_schema
Browse files Browse the repository at this point in the history
Filter by schema
  • Loading branch information
rodolfomiranda committed Feb 20, 2024
2 parents 07aefe8 + bf760b4 commit aaeb765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/background/services/signify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SignifyClient, Tier, ready, Authenticater } from "signify-ts";
import { userService } from "@pages/background/services/user";
import { configService } from "@pages/background/services/config";

const PASSCODE_TIMEOUT = 1;
const PASSCODE_TIMEOUT = 5;

const Signify = () => {
let _client: SignifyClient | null;
Expand Down
4 changes: 3 additions & 1 deletion src/pages/content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ window.addEventListener(
(event.data.type === TAB_STATE.SELECT_CREDENTIAL ||
event.data.type === TAB_STATE.SELECT_ID_CRED)
) {
filteredSignins.push(signin);
if (!event.data.schema || signin.credential.schema.id === event.data.schema){
filteredSignins.push(signin);
}
}
});

Expand Down

0 comments on commit aaeb765

Please sign in to comment.