mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-05-12 20:52:21 +02:00
refactor: don\'t allow camoufox to open links inside running instances
This commit is contained in:
@@ -239,8 +239,6 @@ export function ProfileSelectorDialog({
|
||||
<SelectContent>
|
||||
{profiles.map((profile) => {
|
||||
const isRunning = runningProfiles.has(profile.name);
|
||||
const isLaunching = launchingProfiles.has(profile.name);
|
||||
const isStopping = stoppingProfiles.has(profile.name);
|
||||
const canUseForLinks =
|
||||
browserState.canUseProfileForLinks(profile);
|
||||
const tooltipContent = getProfileTooltipContent(profile);
|
||||
@@ -289,16 +287,6 @@ export function ProfileSelectorDialog({
|
||||
Running
|
||||
</Badge>
|
||||
)}
|
||||
{isLaunching && (
|
||||
<Badge variant="outline" className="text-xs">
|
||||
Launching
|
||||
</Badge>
|
||||
)}
|
||||
{isStopping && (
|
||||
<Badge variant="outline" className="text-xs">
|
||||
Stopping
|
||||
</Badge>
|
||||
)}
|
||||
{!canUseForLinks && (
|
||||
<Badge
|
||||
variant="destructive"
|
||||
|
||||
Reference in New Issue
Block a user