Member Junction
    Preparing search index...

    Function RecordUrlMatchesTab

    • True when a workspace tab is the record named by a /record/:entity/:id URL.

      New-record tabs store recordId: '' while the URL uses the new sentinel. Those must match. Comparing the raw strings ('' === 'new') is false, so URL sync thinks the tab is missing and opens another one — an infinite tab storm that kills the browser tab.

      Parameters

      • urlEntityName: string
      • urlRecordId: string
      • tabEntityName: string
      • tabRecordId: string

      Returns boolean