summaryrefslogtreecommitdiff
path: root/source/features/github-actions-indicators.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/github-actions-indicators.tsx')
-rw-r--r--source/features/github-actions-indicators.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/features/github-actions-indicators.tsx b/source/features/github-actions-indicators.tsx
index 8d6e2e57..e3ae4034 100644
--- a/source/features/github-actions-indicators.tsx
+++ b/source/features/github-actions-indicators.tsx
@@ -1,6 +1,6 @@
import {CachedFunction} from 'webext-storage-cache';
import React from 'dom-chef';
-import select from 'select-dom';
+import {$, elementExists} from 'select-dom';
import {StopIcon, PlayIcon} from '@primer/octicons-react';
import {parseCron} from '@cheap-glitch/mi-cron';
import * as pageDetect from 'github-url-detection';
@@ -90,7 +90,7 @@ const workflowDetails = new CachedFunction('workflows-details', {
async function addIndicators(workflowListItem: HTMLAnchorElement): Promise<void> {
// There might be a disabled indicator already
- if (select.exists('.octicon-stop', workflowListItem)) {
+ if (elementExists('.octicon-stop', workflowListItem)) {
return;
}
@@ -125,7 +125,7 @@ async function addIndicators(workflowListItem: HTMLAnchorElement): Promise<void>
}
const relativeTime = <relative-time datetime={String(nextTime)}/>;
- select('.ActionList-item-label', workflowListItem)!.append(
+ $('.ActionList-item-label', workflowListItem)!.append(
<em>
({relativeTime})
</em>,