Skip to content

[New Feature]: Add duplicate path code as variable in mmgisglobal global variable #663

@ac-61

Description

@ac-61

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

No response

Describe the feature request

We really like using the following lines for creating paths. @tariqksoliman suggested this could be added as a variable in the mmgisglobal global variable.

`${window.location.origin}${(
                window.location.pathname || ''
            ).replace(/\/$/g, '')}/

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogUseful but has been around for a while and we're not actively considering it implementation.enhancementFor making an existing feature better

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions