mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-19 08:16:37 +00:00
Created new hook to handle visits filtering via query string
This commit is contained in:
@@ -60,7 +60,7 @@ describe('<VisitsFilterDropdown />', () => {
|
||||
[1, { orphanVisitsType: 'base_url' }, {}],
|
||||
[2, { orphanVisitsType: 'invalid_short_url' }, {}],
|
||||
[3, { orphanVisitsType: 'regular_404' }, {}],
|
||||
[4, {}, { excludeBots: true }],
|
||||
[4, { orphanVisitsType: undefined, excludeBots: false }, { excludeBots: true }],
|
||||
])('invokes onChange with proper selection when an item is clicked', async (index, expectedSelection, selected) => {
|
||||
const { user } = setUp(selected);
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ exports[`<MapModal /> renders expected map 1`] = `
|
||||
</span>
|
||||
©
|
||||
<a
|
||||
href="http://osm.org/copyright"
|
||||
href="https://osm.org/copyright"
|
||||
>
|
||||
OpenStreetMap
|
||||
</a>
|
||||
|
||||
@@ -167,7 +167,7 @@ exports[`<OpenMapModalBtn /> filters out non-active cities from list of location
|
||||
</span>
|
||||
©
|
||||
<a
|
||||
href="http://osm.org/copyright"
|
||||
href="https://osm.org/copyright"
|
||||
>
|
||||
OpenStreetMap
|
||||
</a>
|
||||
@@ -335,7 +335,7 @@ exports[`<OpenMapModalBtn /> filters out non-active cities from list of location
|
||||
</span>
|
||||
©
|
||||
<a
|
||||
href="http://osm.org/copyright"
|
||||
href="https://osm.org/copyright"
|
||||
>
|
||||
OpenStreetMap
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user