Fixed copy alias issue

This commit is contained in:
Will Browning 2020-01-02 10:10:03 +00:00
parent d1b25999bb
commit 611aeaf0e6
7 changed files with 91 additions and 89 deletions

144
composer.lock generated
View file

@ -628,16 +628,16 @@
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
"version": "2.1.11", "version": "2.1.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/egulias/EmailValidator.git", "url": "https://github.com/egulias/EmailValidator.git",
"reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23" "reference": "834593d5900615639208417760ba6a17299e2497"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92dd169c32f6f55ba570c309d83f5209cefb5e23", "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/834593d5900615639208417760ba6a17299e2497",
"reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23", "reference": "834593d5900615639208417760ba6a17299e2497",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -645,10 +645,9 @@
"php": ">=5.5" "php": ">=5.5"
}, },
"require-dev": { "require-dev": {
"dominicsayers/isemail": "dev-master", "dominicsayers/isemail": "^3.0.7",
"phpunit/phpunit": "^4.8.35||^5.7||^6.0", "phpunit/phpunit": "^4.8.36|^7.5.15",
"satooshi/php-coveralls": "^1.0.1", "satooshi/php-coveralls": "^1.0.1"
"symfony/phpunit-bridge": "^4.4@dev"
}, },
"suggest": { "suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
@ -682,20 +681,20 @@
"validation", "validation",
"validator" "validator"
], ],
"time": "2019-08-13T17:33:27+00:00" "time": "2019-12-30T08:14:25+00:00"
}, },
{ {
"name": "erusev/parsedown", "name": "erusev/parsedown",
"version": "1.7.3", "version": "1.7.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/erusev/parsedown.git", "url": "https://github.com/erusev/parsedown.git",
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7" "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7", "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3",
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7", "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -728,20 +727,20 @@
"markdown", "markdown",
"parser" "parser"
], ],
"time": "2019-03-17T18:48:37+00:00" "time": "2019-12-30T22:54:17+00:00"
}, },
{ {
"name": "fideloper/proxy", "name": "fideloper/proxy",
"version": "4.2.1", "version": "4.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git", "url": "https://github.com/fideloper/TrustedProxy.git",
"reference": "03085e58ec7bee24773fa5a8850751a6e61a7e8a" "reference": "790194d5d3da89a713478875d2e2d05855a90a81"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/03085e58ec7bee24773fa5a8850751a6e61a7e8a", "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/790194d5d3da89a713478875d2e2d05855a90a81",
"reference": "03085e58ec7bee24773fa5a8850751a6e61a7e8a", "reference": "790194d5d3da89a713478875d2e2d05855a90a81",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -782,7 +781,7 @@
"proxy", "proxy",
"trusted proxy" "trusted proxy"
], ],
"time": "2019-09-03T16:45:42+00:00" "time": "2019-12-20T13:11:11+00:00"
}, },
{ {
"name": "firebase/php-jwt", "name": "firebase/php-jwt",
@ -832,16 +831,16 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "6.5.0", "version": "6.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "dbc2bc3a293ed6b1ae08a3651e2bfd213d19b6a5" "reference": "43ece0e75098b7ecd8d13918293029e555a50f82"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/dbc2bc3a293ed6b1ae08a3651e2bfd213d19b6a5", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/43ece0e75098b7ecd8d13918293029e555a50f82",
"reference": "dbc2bc3a293ed6b1ae08a3651e2bfd213d19b6a5", "reference": "43ece0e75098b7ecd8d13918293029e555a50f82",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -895,7 +894,7 @@
"rest", "rest",
"web service" "web service"
], ],
"time": "2019-12-07T18:20:45+00:00" "time": "2019-12-23T11:57:10+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
@ -1325,16 +1324,16 @@
}, },
{ {
"name": "laravel/passport", "name": "laravel/passport",
"version": "v8.0.2", "version": "v8.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/passport.git", "url": "https://github.com/laravel/passport.git",
"reference": "952722f4f1817485bd30190e45fe4dc87ba67441" "reference": "e45ac135c94f72ff77dbc61de97762b35cb76048"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/passport/zipball/952722f4f1817485bd30190e45fe4dc87ba67441", "url": "https://api.github.com/repos/laravel/passport/zipball/e45ac135c94f72ff77dbc61de97762b35cb76048",
"reference": "952722f4f1817485bd30190e45fe4dc87ba67441", "reference": "e45ac135c94f72ff77dbc61de97762b35cb76048",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1392,7 +1391,7 @@
"oauth", "oauth",
"passport" "passport"
], ],
"time": "2019-11-26T17:35:30+00:00" "time": "2019-12-30T22:20:25+00:00"
}, },
{ {
"name": "laravel/tinker", "name": "laravel/tinker",
@ -1564,16 +1563,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "1.0.61", "version": "1.0.62",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "4fb13c01784a6c9f165a351e996871488ca2d8c9" "reference": "14dd5d7dff5fbc29ca9a2a53ff109760e40d91a0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4fb13c01784a6c9f165a351e996871488ca2d8c9", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/14dd5d7dff5fbc29ca9a2a53ff109760e40d91a0",
"reference": "4fb13c01784a6c9f165a351e996871488ca2d8c9", "reference": "14dd5d7dff5fbc29ca9a2a53ff109760e40d91a0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1644,7 +1643,7 @@
"sftp", "sftp",
"storage" "storage"
], ],
"time": "2019-12-08T21:46:50+00:00" "time": "2019-12-29T14:46:55+00:00"
}, },
{ {
"name": "league/oauth2-server", "name": "league/oauth2-server",
@ -1794,16 +1793,16 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "2.0.1", "version": "2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "f9d56fd2f5533322caccdfcddbb56aedd622ef1c" "reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9d56fd2f5533322caccdfcddbb56aedd622ef1c", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c861fcba2ca29404dc9e617eedd9eff4616986b8",
"reference": "f9d56fd2f5533322caccdfcddbb56aedd622ef1c", "reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1871,7 +1870,7 @@
"logging", "logging",
"psr-3" "psr-3"
], ],
"time": "2019-11-13T10:27:43+00:00" "time": "2019-12-20T14:22:59+00:00"
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
@ -4848,6 +4847,7 @@
"psr", "psr",
"psr-7" "psr-7"
], ],
"abandoned": "laminas/laminas-diactoros",
"time": "2019-11-13T19:16:13+00:00" "time": "2019-11-13T19:16:13+00:00"
} }
], ],
@ -5314,16 +5314,16 @@
}, },
{ {
"name": "filp/whoops", "name": "filp/whoops",
"version": "2.5.0", "version": "2.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filp/whoops.git", "url": "https://github.com/filp/whoops.git",
"reference": "cde50e6720a39fdacb240159d3eea6865d51fd96" "reference": "4c97f814aa2f0dd4d5bedc89181c10ef12c004c5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filp/whoops/zipball/cde50e6720a39fdacb240159d3eea6865d51fd96", "url": "https://api.github.com/repos/filp/whoops/zipball/4c97f814aa2f0dd4d5bedc89181c10ef12c004c5",
"reference": "cde50e6720a39fdacb240159d3eea6865d51fd96", "reference": "4c97f814aa2f0dd4d5bedc89181c10ef12c004c5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5332,8 +5332,8 @@
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^0.9 || ^1.0", "mockery/mockery": "^0.9 || ^1.0",
"phpunit/phpunit": "^4.8.35 || ^5.7", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0",
"symfony/var-dumper": "^2.6 || ^3.0 || ^4.0" "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0"
}, },
"suggest": { "suggest": {
"symfony/var-dumper": "Pretty print complex values better with var-dumper available", "symfony/var-dumper": "Pretty print complex values better with var-dumper available",
@ -5342,7 +5342,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.2-dev" "dev-master": "2.6-dev"
} }
}, },
"autoload": { "autoload": {
@ -5357,8 +5357,8 @@
"authors": [ "authors": [
{ {
"name": "Filipe Dobreira", "name": "Filipe Dobreira",
"role": "Developer", "homepage": "https://github.com/filp",
"homepage": "https://github.com/filp" "role": "Developer"
} }
], ],
"description": "php error handling for cool kids", "description": "php error handling for cool kids",
@ -5371,7 +5371,7 @@
"throwable", "throwable",
"whoops" "whoops"
], ],
"time": "2019-08-07T09:00:00+00:00" "time": "2019-12-29T10:00:00+00:00"
}, },
{ {
"name": "friendsofphp/php-cs-fixer", "name": "friendsofphp/php-cs-fixer",
@ -5562,23 +5562,22 @@
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
"version": "1.3.0", "version": "1.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mockery/mockery.git", "url": "https://github.com/mockery/mockery.git",
"reference": "5571962a4f733fbb57bede39778f71647fae8e66" "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mockery/mockery/zipball/5571962a4f733fbb57bede39778f71647fae8e66", "url": "https://api.github.com/repos/mockery/mockery/zipball/f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be",
"reference": "5571962a4f733fbb57bede39778f71647fae8e66", "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"hamcrest/hamcrest-php": "~2.0", "hamcrest/hamcrest-php": "~2.0",
"lib-pcre": ">=7.0", "lib-pcre": ">=7.0",
"php": ">=5.6.0", "php": ">=5.6.0"
"sebastian/comparator": "^1.2.4|^3.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0" "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0"
@ -5586,7 +5585,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.2.x-dev" "dev-master": "1.3.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -5624,7 +5623,7 @@
"test double", "test double",
"testing" "testing"
], ],
"time": "2019-11-24T07:54:50+00:00" "time": "2019-12-26T09:49:15+00:00"
}, },
{ {
"name": "myclabs/deep-copy", "name": "myclabs/deep-copy",
@ -5945,16 +5944,16 @@
}, },
{ {
"name": "phpdocumentor/reflection-docblock", "name": "phpdocumentor/reflection-docblock",
"version": "4.3.2", "version": "4.3.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e" "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e", "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c",
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e", "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5966,6 +5965,7 @@
"require-dev": { "require-dev": {
"doctrine/instantiator": "^1.0.5", "doctrine/instantiator": "^1.0.5",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"phpdocumentor/type-resolver": "0.4.*",
"phpunit/phpunit": "^6.4" "phpunit/phpunit": "^6.4"
}, },
"type": "library", "type": "library",
@ -5992,7 +5992,7 @@
} }
], ],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2019-09-12T14:27:41+00:00" "time": "2019-12-28T18:55:12+00:00"
}, },
{ {
"name": "phpdocumentor/type-resolver", "name": "phpdocumentor/type-resolver",
@ -6043,16 +6043,16 @@
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
"version": "1.10.0", "version": "1.10.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpspec/prophecy.git", "url": "https://github.com/phpspec/prophecy.git",
"reference": "d638ebbb58daba25a6a0dc7969e1358a0e3c6682" "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/d638ebbb58daba25a6a0dc7969e1358a0e3c6682", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/cbe1df668b3fe136bcc909126a0f529a78d4cbbc",
"reference": "d638ebbb58daba25a6a0dc7969e1358a0e3c6682", "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6102,7 +6102,7 @@
"spy", "spy",
"stub" "stub"
], ],
"time": "2019-12-17T16:54:23+00:00" "time": "2019-12-22T21:05:45+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
@ -6358,16 +6358,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "8.5.0", "version": "8.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab" "reference": "7870c78da3c5e4883eaef36ae47853ebb3cb86f2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3ee1c1fd6fc264480c25b6fb8285edefe1702dab", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7870c78da3c5e4883eaef36ae47853ebb3cb86f2",
"reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab", "reference": "7870c78da3c5e4883eaef36ae47853ebb3cb86f2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6437,7 +6437,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2019-12-06T05:41:38+00:00" "time": "2019-12-25T14:49:39+00:00"
}, },
{ {
"name": "scrivo/highlight.php", "name": "scrivo/highlight.php",

6
package-lock.json generated
View file

@ -6397,9 +6397,9 @@
"integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==" "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA=="
}, },
"portal-vue": { "portal-vue": {
"version": "2.1.6", "version": "2.1.7",
"resolved": "https://registry.npmjs.org/portal-vue/-/portal-vue-2.1.6.tgz", "resolved": "https://registry.npmjs.org/portal-vue/-/portal-vue-2.1.7.tgz",
"integrity": "sha512-lvCF85D4e8whd0nN32D8FqKwwkk7nYUI3Ku8UAEx4Z1reomu75dv5evRUTZNaj1EalxxWNXiNl0EHRq36fG8WA==" "integrity": "sha512-+yCno2oB3xA7irTt0EU5Ezw22L2J51uKAacE/6hMPMoO/mx3h4rXFkkBkT4GFsMDv/vEe8TNKC3ujJJ0PTwb6g=="
}, },
"portfinder": { "portfinder": {
"version": "1.0.24", "version": "1.0.24",

View file

@ -17,7 +17,7 @@
"laravel-mix": "^4.1.4", "laravel-mix": "^4.1.4",
"laravel-mix-purgecss": "^4.2.0", "laravel-mix-purgecss": "^4.2.0",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"portal-vue": "^2.1.6", "portal-vue": "^2.1.7",
"postcss-import": "^11.1.0", "postcss-import": "^11.1.0",
"postcss-nesting": "^5.0.0", "postcss-nesting": "^5.0.0",
"resolve-url-loader": "^2.3.2", "resolve-url-loader": "^2.3.2",

View file

@ -159,14 +159,14 @@
<span <span
v-if="props.column.field == 'created_at'" v-if="props.column.field == 'created_at'"
class="tooltip outline-none text-sm" class="tooltip outline-none text-sm"
:data-tippy-content="props.row.created_at | formatDate" :data-tippy-content="rows[props.row.originalIndex].created_at | formatDate"
>{{ props.row.created_at | timeAgo }} >{{ props.row.created_at | timeAgo }}
</span> </span>
<span v-else-if="props.column.field == 'email'" class="block"> <span v-else-if="props.column.field == 'email'" class="block">
<span <span
class="text-grey-400 tooltip cursor-pointer outline-none" class="text-grey-400 tooltip cursor-pointer outline-none"
data-tippy-content="Click to copy" data-tippy-content="Click to copy"
v-clipboard="() => getAliasEmail(props.row)" v-clipboard="() => getAliasEmail(rows[props.row.originalIndex])"
v-clipboard:success="clipboardSuccess" v-clipboard:success="clipboardSuccess"
v-clipboard:error="clipboardError" v-clipboard:error="clipboardError"
><span class="font-semibold text-indigo-800">{{ ><span class="font-semibold text-indigo-800">{{

View file

@ -55,14 +55,14 @@
<span <span
v-if="props.column.field == 'created_at'" v-if="props.column.field == 'created_at'"
class="tooltip outline-none text-sm" class="tooltip outline-none text-sm"
:data-tippy-content="props.row.created_at | formatDate" :data-tippy-content="rows[props.row.originalIndex].created_at | formatDate"
>{{ props.row.created_at | timeAgo }} >{{ props.row.created_at | timeAgo }}
</span> </span>
<span v-else-if="props.column.field == 'domain'"> <span v-else-if="props.column.field == 'domain'">
<span <span
class="tooltip cursor-pointer outline-none" class="tooltip cursor-pointer outline-none"
data-tippy-content="Click to copy" data-tippy-content="Click to copy"
v-clipboard="() => props.row.domain" v-clipboard="() => rows[props.row.originalIndex].domain"
v-clipboard:success="clipboardSuccess" v-clipboard:success="clipboardSuccess"
v-clipboard:error="clipboardError" v-clipboard:error="clipboardError"
>{{ props.row.domain | truncate(30) }}</span >{{ props.row.domain | truncate(30) }}</span
@ -95,9 +95,11 @@
/> />
</div> </div>
<div v-else-if="props.row.description" class="flex items-centers"> <div v-else-if="props.row.description" class="flex items-centers">
<span class="tooltip outline-none" :data-tippy-content="props.row.description">{{ <span
props.row.description | truncate(60) class="tooltip outline-none"
}}</span> :data-tippy-content="rows[props.row.originalIndex].description"
>{{ props.row.description | truncate(60) }}</span
>
<icon <icon
name="edit" name="edit"
class="inline-block w-6 h-6 text-grey-200 fill-current cursor-pointer ml-2" class="inline-block w-6 h-6 text-grey-200 fill-current cursor-pointer ml-2"
@ -283,7 +285,7 @@
</div> </div>
<div class="table-row"> <div class="table-row">
<div class="table-cell py-2">TXT</div> <div class="table-cell py-2">TXT</div>
<div class="table-cell py-2 px-4">@</div> <div class="table-cell py-2 px-4">_dmarc</div>
<div class="table-cell py-2 break-words">v=DMARC1; p=quarantine; adkim=s</div> <div class="table-cell py-2 break-words">v=DMARC1; p=quarantine; adkim=s</div>
</div> </div>
</div> </div>

View file

@ -74,7 +74,7 @@
<span <span
v-if="props.column.field == 'created_at'" v-if="props.column.field == 'created_at'"
class="tooltip outline-none text-sm" class="tooltip outline-none text-sm"
:data-tippy-content="props.row.created_at | formatDate" :data-tippy-content="rows[props.row.originalIndex].created_at | formatDate"
>{{ props.row.created_at | timeAgo }} >{{ props.row.created_at | timeAgo }}
</span> </span>
<span v-else-if="props.column.field == 'key'"> <span v-else-if="props.column.field == 'key'">
@ -84,7 +84,7 @@
<span <span
class="tooltip cursor-pointer outline-none" class="tooltip cursor-pointer outline-none"
data-tippy-content="Click to copy" data-tippy-content="Click to copy"
v-clipboard="() => props.row.email" v-clipboard="() => rows[props.row.originalIndex].email"
v-clipboard:success="clipboardSuccess" v-clipboard:success="clipboardSuccess"
v-clipboard:error="clipboardError" v-clipboard:error="clipboardError"
>{{ props.row.email | truncate(30) }}</span >{{ props.row.email | truncate(30) }}</span

View file

@ -55,14 +55,14 @@
<span <span
v-if="props.column.field == 'created_at'" v-if="props.column.field == 'created_at'"
class="tooltip outline-none text-sm" class="tooltip outline-none text-sm"
:data-tippy-content="props.row.created_at | formatDate" :data-tippy-content="rows[props.row.originalIndex].created_at | formatDate"
>{{ props.row.created_at | timeAgo }} >{{ props.row.created_at | timeAgo }}
</span> </span>
<span v-else-if="props.column.field == 'username'"> <span v-else-if="props.column.field == 'username'">
<span <span
class="tooltip cursor-pointer outline-none" class="tooltip cursor-pointer outline-none"
data-tippy-content="Click to copy" data-tippy-content="Click to copy"
v-clipboard="() => props.row.username" v-clipboard="() => rows[props.row.originalIndex].username"
v-clipboard:success="clipboardSuccess" v-clipboard:success="clipboardSuccess"
v-clipboard:error="clipboardError" v-clipboard:error="clipboardError"
>{{ props.row.username | truncate(30) }}</span >{{ props.row.username | truncate(30) }}</span